Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.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.001063/0.001063, 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.0008398/0.0008398, allocations: 223.2 kB / 22.26 MB, free: 3.707 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.9783/0.9783, allocations: 230.6 MB / 256 MB, free: 9.828 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.7987/0.7987, 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.Logical.Validation.Change,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Change",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.001039/0.001039, allocations: 70.58 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5768/0.5779, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001732/0.5796, allocations: 0.7395 MB / 0.8186 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.5808, allocations: 1.197 MB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.5809, allocations: 0 / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.5809, allocations: 4.641 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.205e-05/0.581, allocations: 8.594 kB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005195/0.5815, allocations: 134.5 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.5817, allocations: 124.6 kB / 0.82 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.5819, allocations: 13.38 kB / 0.82 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.582, allocations: 50.5 kB / 0.8201 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.466e-05/0.5821, allocations: 38.83 kB / 0.8201 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.5821, allocations: 11.66 kB / 0.8201 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.349e-05/0.5821, allocations: 23.34 kB / 0.8202 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.5822, allocations: 24.38 kB / 0.8202 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.276e-05/0.5822, allocations: 39.36 kB / 0.8202 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.5824, allocations: 109.4 kB / 0.8203 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5824, allocations: 3.938 kB / 0.8203 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5824, allocations: 0 / 0.8203 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.5824, allocations: 5.938 kB / 0.8203 GB, free: 15.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005002/0.5829, allocations: 335.2 kB / 0.8206 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.583, allocations: 13.38 kB / 0.8207 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.016e-05/0.583, allocations: 43.25 kB / 0.8207 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.583, allocations: 8.703 kB / 0.8207 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.645e-05/0.5831, allocations: 119.2 kB / 0.8208 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.5831, allocations: 5.578 kB / 0.8208 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.5831, allocations: 7 kB / 0.8208 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.5833, allocations: 61.84 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.5833, allocations: 3.938 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.5833, allocations: 1.938 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.5833, allocations: 1.062 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.5834, allocations: 47.92 kB / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.5839, allocations: 307.2 kB / 0.8212 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.584, allocations: 55.59 kB / 0.8213 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.843e-05/0.5841, allocations: 38.41 kB / 0.8213 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.5841, allocations: 2.812 kB / 0.8213 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.5843, allocations: 90.38 kB / 0.8214 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.5843, allocations: 0 / 0.8214 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003372/0.5846, allocations: 142 kB / 0.8216 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.5847, allocations: 52.06 kB / 0.8216 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.086e-05/0.5848, allocations: 118.4 kB / 0.8217 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.5848, allocations: 32.05 kB / 0.8217 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.5849, allocations: 91.16 kB / 0.8218 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.5849, allocations: 19.94 kB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.167e-05/0.5849, allocations: 45.58 kB / 0.8219 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.585, allocations: 322.7 kB / 0.8222 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.5852, allocations: 56.48 kB / 0.8223 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.5853, allocations: 81.33 kB / 0.8223 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.5855, allocations: 150.8 kB / 0.8225 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5855, allocations: 0 / 0.8225 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003103/0.5858, allocations: 209.7 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/0.5858, allocations: 35.69 kB / 0.8227 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5858, allocations: 5.188 kB / 0.8227 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.5858, allocations: 1.094 kB / 0.8227 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.248e-05/0.5859, allocations: 15.77 kB / 0.8227 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.5859, allocations: 6.891 kB / 0.8227 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.5861, allocations: 34.06 kB / 0.8228 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.5861, allocations: 9.047 kB / 0.8228 GB, free: 13.65 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 9.624e-05/0.5862, allocations: 132.9 kB / 0.8229 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.5862, allocations: 7.297 kB / 0.8229 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.5862, allocations: 8.844 kB / 0.8229 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5862, allocations: 3.938 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.5862, allocations: 0 / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5862, allocations: 0.7031 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/0.5866, allocations: 351 kB / 0.8233 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5866, allocations: 4.984 kB / 0.8233 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/0.5866, allocations: 6.688 kB / 0.8233 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5866, allocations: 1.031 kB / 0.8233 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.5866, allocations: 3.219 kB / 0.8233 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5866, allocations: 0 / 0.8233 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5866, allocations: 0.9844 kB / 0.8233 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.5868, allocations: 213.9 kB / 0.8235 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.5868, allocations: 6.172 kB / 0.8235 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.5868, allocations: 1.344 kB / 0.8235 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.329e-05/0.5869, allocations: 7.703 kB / 0.8235 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.5869, allocations: 13.67 kB / 0.8235 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.5869, allocations: 1.125 kB / 0.8235 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.595e-05/0.587, allocations: 99 kB / 0.8236 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.587, allocations: 0 / 0.8236 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001859/0.5872, allocations: 20.5 kB / 0.8236 GB, free: 12.94 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0004498/0.5876, allocations: 0.7552 MB / 0.8244 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.5879, allocations: 161.4 kB / 0.8245 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5879, allocations: 0 / 0.8245 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.132e-05/0.588, allocations: 36.03 kB / 0.8246 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.5882, allocations: 19.84 kB / 0.8246 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.5897, allocations: 1.681 MB / 0.8262 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/0.5902, allocations: 0.6933 MB / 0.8269 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.884e-05/0.5902, allocations: 15.03 kB / 0.8269 GB, free: 10 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.5903, allocations: 20.61 kB / 0.8269 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.5903, allocations: 0 / 0.8269 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.6079, allocations: 2.694 MB / 0.8296 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.473/7.081, allocations: 2.359 kB / 0.8296 GB, free: 9.477 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Change.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.033467134926468] Failed to read output from testmodel.py, exit status != 0: 7.1586298069451 7.168089907 6.583784058 Calling exit ...