Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.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.0008109/0.0008109, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.00132/0.00132, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9327/0.9327, allocations: 230.6 MB / 256 MB, free: 9.598 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.7818/0.7818, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.Logical.Validation.Timer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Timer",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.001031/0.001031, allocations: 72.64 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5076/0.5086, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001492/0.5101, allocations: 0.7011 MB / 0.8185 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.5114, allocations: 1.287 MB / 0.8197 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.608e-05/0.5115, allocations: 1.531 kB / 0.8197 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.5115, allocations: 9.047 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.368e-05/0.5116, allocations: 17.75 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000575/0.5121, allocations: 251.9 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.5124, allocations: 251.8 kB / 0.8203 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.423e-05/0.5125, allocations: 7.781 kB / 0.8203 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.5126, allocations: 106.4 kB / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.5128, allocations: 86 kB / 0.8204 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.5128, allocations: 24.12 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.932e-05/0.5129, allocations: 34.34 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.799e-05/0.5129, allocations: 38.05 kB / 0.8205 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.324e-05/0.513, allocations: 84.03 kB / 0.8206 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.5132, allocations: 226.9 kB / 0.8208 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5132, allocations: 0.6562 kB / 0.8208 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5132, allocations: 0 / 0.8208 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.5132, allocations: 4 kB / 0.8208 GB, free: 15.19 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005849/0.5138, allocations: 427.5 kB / 0.8212 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.5139, allocations: 12.34 kB / 0.8213 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.5139, allocations: 37.19 kB / 0.8213 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/0.514, allocations: 20.39 kB / 0.8213 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.5143, allocations: 197.8 kB / 0.8215 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.5144, allocations: 12.06 kB / 0.8215 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.5144, allocations: 23.11 kB / 0.8215 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.5146, allocations: 134 kB / 0.8217 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.5146, allocations: 3.578 kB / 0.8217 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.5147, allocations: 2.062 kB / 0.8217 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.5147, allocations: 2.125 kB / 0.8217 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.5148, allocations: 62.08 kB / 0.8217 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006562/0.5154, allocations: 456.8 kB / 0.8222 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.5157, allocations: 143.5 kB / 0.8223 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.511e-05/0.5158, allocations: 49.03 kB / 0.8223 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.5158, allocations: 3.859 kB / 0.8224 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004146/0.5162, allocations: 206.5 kB / 0.8225 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.964e-06/0.5162, allocations: 4 kB / 0.8226 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0005579/0.5168, allocations: 315 kB / 0.8229 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.5168, allocations: 95.3 kB / 0.8229 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.5169, allocations: 129.4 kB / 0.8231 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.517, allocations: 38.58 kB / 0.8231 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.517, allocations: 99.91 kB / 0.8232 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.017e-05/0.5171, allocations: 55.45 kB / 0.8233 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.671e-05/0.5172, allocations: 75.56 kB / 0.8233 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.5173, allocations: 321.7 kB / 0.8236 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.5174, allocations: 147.9 kB / 0.8238 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.5176, allocations: 210.6 kB / 0.824 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.5178, allocations: 249.6 kB / 0.8242 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.5178, allocations: 0 / 0.8242 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004355/0.5183, allocations: 421.3 kB / 0.8246 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/0.5183, allocations: 68.17 kB / 0.8247 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.5183, allocations: 2.219 kB / 0.8247 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.5183, allocations: 3.812 kB / 0.8247 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.293e-05/0.5184, allocations: 22 kB / 0.8247 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.5184, allocations: 4.078 kB / 0.8247 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.5186, allocations: 73.56 kB / 0.8248 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.5187, allocations: 20.12 kB / 0.8248 GB, free: 12.24 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: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001267/0.5188, allocations: 142 kB / 0.8249 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.417e-05/0.5188, allocations: 22.55 kB / 0.825 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.613e-05/0.5189, allocations: 14.3 kB / 0.825 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.5189, allocations: 7.078 kB / 0.825 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.5189, allocations: 1.406 kB / 0.825 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.5189, allocations: 2.594 kB / 0.825 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.5195, allocations: 0.5874 MB / 0.8256 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.5195, allocations: 0 / 0.8256 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.5195, allocations: 7.828 kB / 0.8256 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.5195, allocations: 5.25 kB / 0.8256 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.5195, allocations: 6.516 kB / 0.8256 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.5196, allocations: 2.047 kB / 0.8256 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.5196, allocations: 1.094 kB / 0.8256 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.5199, allocations: 435 kB / 0.826 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.52, allocations: 13.14 kB / 0.826 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.52, allocations: 17.48 kB / 0.826 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.502e-05/0.5201, allocations: 12.73 kB / 0.826 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.499e-05/0.5202, allocations: 21.98 kB / 0.8261 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.5202, allocations: 16.66 kB / 0.8261 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.302e-05/0.5202, allocations: 92.47 kB / 0.8262 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5202, allocations: 0 / 0.8262 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002978/0.5205, allocations: 60.97 kB / 0.8262 GB, free: 11.25 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0006094/0.5211, allocations: 0.9668 MB / 0.8272 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006791/0.5218, allocations: 388.5 kB / 0.8275 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5218, allocations: 0 / 0.8275 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.5219, allocations: 80.67 kB / 0.8276 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.5223, allocations: 28.38 kB / 0.8276 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.5245, allocations: 2.54 MB / 0.8301 GB, free: 8.094 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.983e-05/0.5246, allocations: 93.92 kB / 0.8302 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.063e-05/0.5246, allocations: 14.39 kB / 0.8302 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.236e-05/0.5247, allocations: 37.33 kB / 0.8303 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of SimCode: time 9.52e-07/0.5247, allocations: 5.469 kB / 0.8303 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.5434, allocations: 4.938 MB / 0.8351 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.725/7.269, allocations: 7.234 kB / 0.8351 GB, free: 6.836 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Timer.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.270305837970227] Failed to read output from testmodel.py, exit status != 0: 7.349306513089687 7.364341855 6.848957968 Calling exit ...