Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.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.001111/0.001111, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001128/0.001128, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9315/0.9315, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7244/0.7244, allocations: 154.5 MB / 413.7 MB, free: 0.8477 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.Edge,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.24e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001495/0.001518, allocations: 0.7255 MB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.002692, allocations: 1.174 MB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.589e-05/0.002738, allocations: 0 / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.002768, allocations: 11.86 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.071e-05/0.002839, allocations: 11.92 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.003288, allocations: 137.9 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.003434, allocations: 123.7 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.8e-05/0.003522, allocations: 8 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.003627, allocations: 71.81 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.884e-05/0.003706, allocations: 35.94 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.003728, allocations: 8 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.605e-05/0.003795, allocations: 20 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.454e-05/0.003819, allocations: 15.91 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.146e-05/0.003871, allocations: 31.97 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.004047, allocations: 135.7 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.00405, allocations: 3.984 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.463e-06/0.004051, allocations: 0 / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.004055, allocations: 0 / 0.6205 GB, free: 11.2 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.000481/0.004536, allocations: 335.8 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.004581, allocations: 9.469 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.941e-05/0.00461, allocations: 34.75 kB / 0.6209 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.004649, allocations: 12.89 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.322e-05/0.004732, allocations: 105.8 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.004754, allocations: 4.375 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.004769, allocations: 12.31 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.00492, allocations: 66.22 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.004929, allocations: 192 / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.004938, allocations: 384 / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.004944, allocations: 4.125 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.998e-05/0.005044, allocations: 47.89 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.005461, allocations: 291.8 kB / 0.6214 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.005589, allocations: 62.59 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/0.005643, allocations: 24.97 kB / 0.6215 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.005654, allocations: 3.938 kB / 0.6215 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001853/0.005839, allocations: 91.36 kB / 0.6216 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.00584, allocations: 3.938 kB / 0.6216 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002881/0.006128, allocations: 153.6 kB / 0.6217 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.006162, allocations: 51.41 kB / 0.6218 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.806e-05/0.00623, allocations: 117.8 kB / 0.6219 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.006249, allocations: 29.7 kB / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.006298, allocations: 96.08 kB / 0.622 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.006315, allocations: 15.91 kB / 0.622 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.006365, allocations: 37.7 kB / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003432/0.006708, allocations: 318.8 kB / 0.6223 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.006826, allocations: 81.66 kB / 0.6224 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.006939, allocations: 122 kB / 0.6225 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.007094, allocations: 137.8 kB / 0.6227 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007096, allocations: 0 / 0.6227 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000276/0.007373, allocations: 257.1 kB / 0.6229 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.007403, allocations: 35.89 kB / 0.6229 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.007407, allocations: 4 kB / 0.6229 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.00742, allocations: 0 / 0.6229 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.911e-05/0.007479, allocations: 15.92 kB / 0.623 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.007486, allocations: 4 kB / 0.623 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.007592, allocations: 31.95 kB / 0.623 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.007607, allocations: 12.09 kB / 0.623 GB, free: 8.355 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,edge1.y,edge1.u,$PRE.edge1.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.127e-05/0.007688, allocations: 122.8 kB / 0.6231 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.0077, allocations: 15.83 kB / 0.6231 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.007725, allocations: 12.42 kB / 0.6232 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.007729, allocations: 4 kB / 0.6232 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.007734, allocations: 0 / 0.6232 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.007738, allocations: 0 / 0.6232 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.008046, allocations: 337.5 kB / 0.6235 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.008049, allocations: 8.062 kB / 0.6235 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.008076, allocations: 11.98 kB / 0.6235 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.008079, allocations: 0 / 0.6235 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.008087, allocations: 0 / 0.6235 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.008089, allocations: 0 / 0.6235 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.008091, allocations: 4 kB / 0.6235 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.008258, allocations: 215.4 kB / 0.6237 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.008269, allocations: 11.94 kB / 0.6237 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.008283, allocations: 4 kB / 0.6237 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.253e-05/0.008325, allocations: 4 kB / 0.6237 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.008362, allocations: 7.984 kB / 0.6237 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.008369, allocations: 4 kB / 0.6237 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.74e-05/0.008407, allocations: 97.67 kB / 0.6238 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008407, allocations: 0 / 0.6238 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001904/0.008597, allocations: 23.94 kB / 0.6239 GB, free: 7.414 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0003965/0.008994, allocations: 0.7513 MB / 0.6246 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002499/0.009243, allocations: 193 kB / 0.6248 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.009246, allocations: 4 kB / 0.6248 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.196e-05/0.009308, allocations: 31.97 kB / 0.6248 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.009512, allocations: 11.98 kB / 0.6248 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.01095, allocations: 1.81 MB / 0.6266 GB, free: 4.43 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.32e-05/0.011, allocations: 75.33 kB / 0.6267 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.921e-05/0.01103, allocations: 4 kB / 0.6267 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.01107, allocations: 24.5 kB / 0.6267 GB, free: 4.309 MB / 0.5886 GB Notification: Performance of SimCode: time 7.21e-07/0.01107, allocations: 0 / 0.6267 GB, free: 4.309 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.02968, allocations: 3.336 MB / 0.6299 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.897/6.927, allocations: 6.062 kB / 0.6299 GB, free: 1.16 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.707962636835873] Failed to read output from testmodel.py, exit status != 0: 7.007544948719442 7.016300718 7.010584742 Calling exit ...