Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008064/0.0008064, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 223.7 kB / 22.26 MB, free: 3.703 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9885/0.9885, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8538/0.8538, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009392/0.0009392, allocations: 70.67 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6061/0.607, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001921/0.6089, allocations: 1.017 MB / 0.8188 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.6106, allocations: 1.371 MB / 0.8202 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.6e-05/0.6107, allocations: 6.656 kB / 0.8202 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.6108, allocations: 19.77 kB / 0.8202 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.6109, allocations: 48.7 kB / 0.8203 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009083/0.6119, allocations: 282.5 kB / 0.8205 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004061/0.6123, allocations: 384.1 kB / 0.8209 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.6124, allocations: 55.36 kB / 0.8209 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.6126, allocations: 146.4 kB / 0.8211 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.6129, allocations: 142.2 kB / 0.8212 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.748e-05/0.6129, allocations: 31.28 kB / 0.8213 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.613, allocations: 55.91 kB / 0.8213 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.84e-05/0.6131, allocations: 64.58 kB / 0.8214 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.6133, allocations: 133.8 kB / 0.8215 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004778/0.6137, allocations: 408 kB / 0.8219 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6137, allocations: 0 / 0.8219 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6137, allocations: 4.781 kB / 0.8219 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.6137, allocations: 0 / 0.8219 GB, free: 14.77 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007162/0.6145, allocations: 0.5495 MB / 0.8224 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.6145, allocations: 13.44 kB / 0.8224 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.6145, allocations: 46.12 kB / 0.8225 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.6148, allocations: 66.67 kB / 0.8225 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005711/0.6154, allocations: 302.5 kB / 0.8228 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.6154, allocations: 13.34 kB / 0.8228 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.6154, allocations: 25.17 kB / 0.8229 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.6158, allocations: 210.5 kB / 0.8231 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.6158, allocations: 4.906 kB / 0.8231 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.6158, allocations: 5.797 kB / 0.8231 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.6158, allocations: 6.719 kB / 0.8231 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.6161, allocations: 141.4 kB / 0.8232 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008929/0.617, allocations: 0.8722 MB / 0.8241 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.6172, allocations: 154.6 kB / 0.8242 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.6173, allocations: 79.75 kB / 0.8243 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.6173, allocations: 2.188 kB / 0.8243 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003551/0.6177, allocations: 164.8 kB / 0.8245 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.034e-06/0.6177, allocations: 4.938 kB / 0.8245 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0005755/0.6183, allocations: 256.6 kB / 0.8247 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/0.6183, allocations: 163.4 kB / 0.8249 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.6185, allocations: 217.5 kB / 0.8251 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.6186, allocations: 39.39 kB / 0.8251 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.6187, allocations: 152.3 kB / 0.8253 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.6187, allocations: 39.44 kB / 0.8253 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.482e-05/0.6188, allocations: 50.62 kB / 0.8253 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.6189, allocations: 334.5 kB / 0.8257 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.6191, allocations: 104 kB / 0.8258 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.6193, allocations: 172 kB / 0.8259 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003761/0.6197, allocations: 278.2 kB / 0.8262 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6197, allocations: 0 / 0.8262 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005782/0.6203, allocations: 375 kB / 0.8265 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/0.6203, allocations: 66.16 kB / 0.8266 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.6204, allocations: 2.75 kB / 0.8266 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.6204, allocations: 3.219 kB / 0.8266 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.6205, allocations: 28.95 kB / 0.8266 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.6205, allocations: 3.266 kB / 0.8266 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.6207, allocations: 75.53 kB / 0.8267 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.6207, allocations: 13.31 kB / 0.8267 GB, free: 11.34 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.6209, allocations: 156.1 kB / 0.8269 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.6209, allocations: 22.17 kB / 0.8269 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.6209, allocations: 26.41 kB / 0.8269 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.621, allocations: 2.344 kB / 0.8269 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.621, allocations: 2.219 kB / 0.8269 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.621, allocations: 2.812 kB / 0.8269 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.6212, allocations: 227.2 kB / 0.8271 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.6212, allocations: 1.859 kB / 0.8271 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.078e-05/0.6212, allocations: 28.28 kB / 0.8272 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.6212, allocations: 2.469 kB / 0.8272 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.6213, allocations: 3.047 kB / 0.8272 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.6213, allocations: 2.156 kB / 0.8272 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6213, allocations: 13.12 kB / 0.8272 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.6216, allocations: 236.7 kB / 0.8274 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.6216, allocations: 19.77 kB / 0.8274 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.6217, allocations: 9.359 kB / 0.8274 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/0.6217, allocations: 18.31 kB / 0.8275 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.6218, allocations: 19.61 kB / 0.8275 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.6218, allocations: 18.03 kB / 0.8275 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001215/0.6219, allocations: 157.5 kB / 0.8277 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.6219, allocations: 0 / 0.8277 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002286/0.6222, allocations: 52.88 kB / 0.8277 GB, free: 10.67 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006644/0.6228, allocations: 0.7814 MB / 0.8285 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000536/0.6234, allocations: 312 kB / 0.8288 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6234, allocations: 0 / 0.8288 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.6235, allocations: 79.81 kB / 0.8288 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.6238, allocations: 50.48 kB / 0.8289 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/0.6267, allocations: 2.558 MB / 0.8314 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.627, allocations: 0.7443 MB / 0.8321 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.6271, allocations: 37.25 kB / 0.8321 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.419e-05/0.6272, allocations: 64.5 kB / 0.8322 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.6272, allocations: 0 / 0.8322 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.6513, allocations: 5.392 MB / 0.8375 GB, free: 5.863 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.522/7.174, allocations: 9.859 kB / 0.8375 GB, free: 5.863 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.342127670999616] Failed to read output from testmodel.py, exit status != 0: 7.2571214768104255 7.271022317 6.655302371 Calling exit ...