Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.001494/0.001494, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002232/0.002232, allocations: 211 kB / 22.24 MB, free: 4.863 MB / 14.72 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 1.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.324/1.324, allocations: 203.5 MB / 0.5038 GB, free: 4.914 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge") [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.002173/0.002173, allocations: 67.89 kB / 0.7183 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6674/0.6695, allocations: 102 MB / 0.8179 GB, free: 29.07 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002261/0.6718, allocations: 0.7231 MB / 0.8186 GB, free: 28.65 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.6736, allocations: 1.179 MB / 0.8197 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.545e-05/0.6737, allocations: 0.6562 kB / 0.8197 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.6737, allocations: 4.875 kB / 0.8197 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.683e-05/0.6738, allocations: 11.12 kB / 0.8197 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.6744, allocations: 138.2 kB / 0.8199 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.6746, allocations: 121.2 kB / 0.82 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.6747, allocations: 11.58 kB / 0.82 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.6749, allocations: 51.44 kB / 0.82 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.675, allocations: 42.5 kB / 0.8201 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.675, allocations: 10.06 kB / 0.8201 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.691e-05/0.6751, allocations: 25.23 kB / 0.8201 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.721e-05/0.6752, allocations: 10.08 kB / 0.8201 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.931e-05/0.6752, allocations: 42.67 kB / 0.8202 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.6755, allocations: 111.1 kB / 0.8203 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6755, allocations: 5.188 kB / 0.8203 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of FrontEnd: time 9.02e-07/0.6755, allocations: 0.6562 kB / 0.8203 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.6755, allocations: 0 / 0.8203 GB, free: 27.56 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006309/0.6761, allocations: 338.4 kB / 0.8206 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.613e-05/0.6762, allocations: 10.81 kB / 0.8206 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.213e-05/0.6762, allocations: 7.594 kB / 0.8206 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.6764, allocations: 120.1 kB / 0.8207 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.6764, allocations: 7.906 kB / 0.8207 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.6764, allocations: 8.359 kB / 0.8207 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.6766, allocations: 65.03 kB / 0.8208 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.6767, allocations: 192 / 0.8208 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.6767, allocations: 11.28 kB / 0.8208 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.6767, allocations: 1.125 kB / 0.8208 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.6769, allocations: 44.58 kB / 0.8209 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.6774, allocations: 267.5 kB / 0.8211 GB, free: 26.81 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.6776, allocations: 59.14 kB / 0.8212 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.6777, allocations: 31.64 kB / 0.8212 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.6778, allocations: 1.516 kB / 0.8212 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002914/0.6781, allocations: 92.59 kB / 0.8213 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.744e-06/0.6781, allocations: 1.062 kB / 0.8213 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0005198/0.6786, allocations: 143.5 kB / 0.8214 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.6786, allocations: 53.77 kB / 0.8215 GB, free: 26.58 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.313e-05/0.6787, allocations: 123.8 kB / 0.8216 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.6787, allocations: 35.89 kB / 0.8216 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.6788, allocations: 94.41 kB / 0.8217 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.6788, allocations: 16.14 kB / 0.8217 GB, free: 26.33 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.133e-05/0.6789, allocations: 39.62 kB / 0.8218 GB, free: 26.31 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.944e-05/0.679, allocations: 319.7 kB / 0.8221 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.6792, allocations: 83 kB / 0.8222 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.6794, allocations: 120.5 kB / 0.8223 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.6797, allocations: 138.9 kB / 0.8224 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.6797, allocations: 4.469 kB / 0.8224 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005638/0.6803, allocations: 249.6 kB / 0.8226 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.6803, allocations: 34.38 kB / 0.8227 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.6803, allocations: 1.875 kB / 0.8227 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.6804, allocations: 1.844 kB / 0.8227 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.6805, allocations: 15.75 kB / 0.8227 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.6805, allocations: 4.547 kB / 0.8227 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.6807, allocations: 42.05 kB / 0.8227 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.6807, allocations: 8.047 kB / 0.8228 GB, free: 25.56 MB / 0.6387 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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.969e-05/0.6808, allocations: 127.6 kB / 0.8229 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.6808, allocations: 3.031 kB / 0.8229 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.6809, allocations: 11.2 kB / 0.8229 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.6809, allocations: 5.922 kB / 0.8229 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6809, allocations: 64 / 0.8229 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.6809, allocations: 4.609 kB / 0.8229 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004251/0.6813, allocations: 324.6 kB / 0.8232 GB, free: 25.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6813, allocations: 0 / 0.8232 GB, free: 25.15 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.6814, allocations: 12.42 kB / 0.8232 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.6814, allocations: 3.938 kB / 0.8232 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.6814, allocations: 2.188 kB / 0.8232 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.6814, allocations: 1.984 kB / 0.8232 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.6814, allocations: 0 / 0.8232 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.6817, allocations: 210.7 kB / 0.8234 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.6817, allocations: 6.922 kB / 0.8234 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.6817, allocations: 1.172 kB / 0.8234 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.912e-05/0.6818, allocations: 16.5 kB / 0.8235 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.6818, allocations: 5.266 kB / 0.8235 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.609e-06/0.6818, allocations: 3.469 kB / 0.8235 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.985e-05/0.6819, allocations: 90.06 kB / 0.8235 GB, free: 24.89 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6819, allocations: 0 / 0.8235 GB, free: 24.89 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000276/0.6822, allocations: 29.64 kB / 0.8236 GB, free: 24.89 MB / 0.6387 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0001557/0.6823, allocations: 109.9 kB / 0.8237 GB, free: 24.79 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000429/0.6827, allocations: 195.5 kB / 0.8239 GB, free: 24.66 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6827, allocations: 1.188 kB / 0.8239 GB, free: 24.66 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.6829, allocations: 35.86 kB / 0.8239 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.6832, allocations: 15.16 kB / 0.8239 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.6836, allocations: 173.2 kB / 0.8241 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.759e-05/0.6837, allocations: 76.58 kB / 0.8242 GB, free: 24.43 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.921e-05/0.6837, allocations: 9.25 kB / 0.8242 GB, free: 24.42 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.6838, allocations: 10.77 kB / 0.8242 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of SimCode: time 3.91e-07/0.6838, allocations: 1.75 kB / 0.8242 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of Templates: time 0.005821/0.6896, allocations: 1.604 MB / 0.8257 GB, free: 24.24 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.0077974405139685] Failed to read output from testmodel.py, exit status != 0: 0.6984980758279562 0.71318511 0.034523484 Calling exit ...