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.001085/0.001085, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008389/0.0008389, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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.8892/0.8892, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.7204/0.7204, allocations: 154.5 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.118e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001345/0.001366, allocations: 0.7228 MB / 0.6188 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.002826, allocations: 1.174 MB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.535e-05/0.002882, allocations: 4 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.405e-05/0.002916, allocations: 7.938 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.316e-05/0.002989, allocations: 11.86 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.003465, allocations: 133.9 kB / 0.6201 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.003627, allocations: 119.7 kB / 0.6202 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.003738, allocations: 8 kB / 0.6202 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.003853, allocations: 71.81 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.28e-05/0.003936, allocations: 39.94 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.003961, allocations: 12 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.793e-05/0.004029, allocations: 19.98 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.004054, allocations: 15.92 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.567e-05/0.00411, allocations: 31.97 kB / 0.6204 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.004288, allocations: 131.6 kB / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.00429, allocations: 0 / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.002e-06/0.004291, allocations: 0 / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.004296, allocations: 0 / 0.6205 GB, free: 11.25 MB / 0.5886 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.0004744/0.00477, allocations: 335.8 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.004819, allocations: 17.47 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.542e-05/0.004845, allocations: 30.75 kB / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.004882, allocations: 12.89 kB / 0.6209 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.71e-05/0.004959, allocations: 109.8 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.004972, allocations: 8.359 kB / 0.621 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.004989, allocations: 8.375 kB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.005127, allocations: 66.11 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.005134, allocations: 192 / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.005145, allocations: 8.359 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.005151, allocations: 4.125 kB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.522e-05/0.005246, allocations: 43.97 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.00563, allocations: 275.9 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.00575, allocations: 62.55 kB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.021e-05/0.00581, allocations: 32.95 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.005822, allocations: 3.938 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.005986, allocations: 91.36 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.005987, allocations: 3.938 kB / 0.6216 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002927/0.00628, allocations: 149.6 kB / 0.6217 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.006318, allocations: 55.41 kB / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.006393, allocations: 117.8 kB / 0.6219 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.006415, allocations: 33.7 kB / 0.6219 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.006464, allocations: 96.08 kB / 0.622 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.006482, allocations: 19.91 kB / 0.622 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.006535, allocations: 33.7 kB / 0.622 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.552e-05/0.006621, allocations: 318.8 kB / 0.6223 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.006738, allocations: 81.66 kB / 0.6224 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.006853, allocations: 118 kB / 0.6225 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.007016, allocations: 146.2 kB / 0.6227 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.00702, allocations: 3.938 kB / 0.6227 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002857/0.007305, allocations: 240.8 kB / 0.6229 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.007339, allocations: 37.7 kB / 0.6229 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.007344, allocations: 0 / 0.6229 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.007357, allocations: 4 kB / 0.6229 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.55e-05/0.007423, allocations: 20.05 kB / 0.623 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.007429, allocations: 3.938 kB / 0.623 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.007538, allocations: 31.95 kB / 0.623 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.007555, allocations: 12 kB / 0.623 GB, free: 8.395 MB / 0.5886 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 8.251e-05/0.007637, allocations: 124.8 kB / 0.6231 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.007647, allocations: 11.88 kB / 0.6231 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.007679, allocations: 12.44 kB / 0.6231 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.007681, allocations: 4 kB / 0.6232 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.007687, allocations: 0 / 0.6232 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.00769, allocations: 0 / 0.6232 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.008018, allocations: 345.5 kB / 0.6235 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.008019, allocations: 0 / 0.6235 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.877e-05/0.008048, allocations: 7.984 kB / 0.6235 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.00805, allocations: 0 / 0.6235 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.00806, allocations: 8.062 kB / 0.6235 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.008061, allocations: 0 / 0.6235 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.008062, allocations: 4 kB / 0.6235 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.008238, allocations: 219.4 kB / 0.6237 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-06/0.008245, allocations: 3.953 kB / 0.6237 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.008261, allocations: 7.984 kB / 0.6237 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.394e-05/0.008305, allocations: 4 kB / 0.6237 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.008343, allocations: 7.984 kB / 0.6237 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.00835, allocations: 4 kB / 0.6237 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.574e-05/0.008386, allocations: 92.58 kB / 0.6238 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.008386, allocations: 0 / 0.6238 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001819/0.008568, allocations: 27.94 kB / 0.6239 GB, free: 7.453 MB / 0.5886 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.000403/0.008971, allocations: 0.7472 MB / 0.6246 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002562/0.009227, allocations: 197 kB / 0.6248 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.009229, allocations: 0 / 0.6248 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.34e-05/0.009292, allocations: 40.22 kB / 0.6248 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.009487, allocations: 17.95 kB / 0.6248 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.0113, allocations: 1.811 MB / 0.6266 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.592e-05/0.01135, allocations: 67.34 kB / 0.6267 GB, free: 4.379 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.505e-05/0.01139, allocations: 7.984 kB / 0.6267 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.01143, allocations: 20.5 kB / 0.6267 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of SimCode: time 6.31e-07/0.01143, allocations: 0 / 0.6267 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.02898, allocations: 3.334 MB / 0.6299 GB, free: 1.199 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.913/6.942, allocations: 9.688 kB / 0.6299 GB, free: 1.195 MB / 0.5886 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: 9.653182010166347] Failed to read output from testmodel.py, exit status != 0: 7.02185807749629 7.032084159 7.02588731 Calling exit ...