Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.001326/0.001326, 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.001582/0.001582, allocations: 215.2 kB / 22.25 MB, free: 4.859 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.793 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.382/1.382, allocations: 203.5 MB / 0.5038 GB, free: 4.906 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.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [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.002177/0.002177, allocations: 71.89 kB / 0.7183 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6714/0.6735, allocations: 102 MB / 0.8178 GB, free: 29.07 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002217/0.6758, allocations: 0.7125 MB / 0.8185 GB, free: 28.65 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.6776, allocations: 1.212 MB / 0.8197 GB, free: 27.78 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.6777, allocations: 0 / 0.8197 GB, free: 27.78 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.361e-05/0.6777, allocations: 6.516 kB / 0.8197 GB, free: 27.78 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.123e-05/0.6778, allocations: 10.81 kB / 0.8197 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005881/0.6784, allocations: 150.6 kB / 0.8199 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.6785, allocations: 117.5 kB / 0.82 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.6787, allocations: 14.64 kB / 0.82 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.6788, allocations: 48.47 kB / 0.82 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.6789, allocations: 41.02 kB / 0.8201 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.6789, allocations: 11.78 kB / 0.8201 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.149e-05/0.679, allocations: 22.03 kB / 0.8201 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.679, allocations: 19.94 kB / 0.8201 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.945e-05/0.6791, allocations: 33.27 kB / 0.8202 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.6793, allocations: 119.8 kB / 0.8203 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.6793, allocations: 0.5312 kB / 0.8203 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6793, allocations: 0 / 0.8203 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.6793, allocations: 0.5312 kB / 0.8203 GB, free: 27.53 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006262/0.68, allocations: 337.1 kB / 0.8206 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.68, allocations: 9.969 kB / 0.8206 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.6801, allocations: 12.31 kB / 0.8206 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.331e-05/0.6802, allocations: 111.1 kB / 0.8207 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.6802, allocations: 5.719 kB / 0.8207 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.6803, allocations: 6.844 kB / 0.8207 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.6805, allocations: 66.02 kB / 0.8208 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.6805, allocations: 192 / 0.8208 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.6805, allocations: 9.844 kB / 0.8208 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.6805, allocations: 1.312 kB / 0.8208 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.6807, allocations: 43.02 kB / 0.8209 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.6811, allocations: 252.8 kB / 0.8211 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.6813, allocations: 49.56 kB / 0.8211 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.6814, allocations: 31.44 kB / 0.8212 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.6815, allocations: 2.812 kB / 0.8212 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000259/0.6817, allocations: 87.77 kB / 0.8213 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.6817, allocations: 3.938 kB / 0.8213 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0004887/0.6822, allocations: 137 kB / 0.8214 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.6822, allocations: 58.2 kB / 0.8215 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.544e-05/0.6823, allocations: 109.7 kB / 0.8216 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.6824, allocations: 36.95 kB / 0.8216 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.6824, allocations: 100.8 kB / 0.8217 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.6824, allocations: 11.22 kB / 0.8217 GB, free: 26.33 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.164e-05/0.6825, allocations: 37.19 kB / 0.8217 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.346e-05/0.6826, allocations: 323.2 kB / 0.822 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.6828, allocations: 76.3 kB / 0.8221 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.683, allocations: 107.4 kB / 0.8222 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/0.6833, allocations: 142.8 kB / 0.8224 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6833, allocations: 0.5 kB / 0.8224 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005344/0.6838, allocations: 232.2 kB / 0.8226 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.6839, allocations: 35.02 kB / 0.8226 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6839, allocations: 1.141 kB / 0.8226 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.6839, allocations: 2 kB / 0.8226 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.684, allocations: 20.06 kB / 0.8226 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.684, allocations: 1.812 kB / 0.8226 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.6842, allocations: 34.09 kB / 0.8227 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.6842, allocations: 8.406 kB / 0.8227 GB, free: 25.59 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 7.825e-05/0.6843, allocations: 120.5 kB / 0.8228 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.6843, allocations: 7.891 kB / 0.8228 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003094/0.6846, allocations: 121.3 kB / 0.8229 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6847, allocations: 2.219 kB / 0.8229 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.6847, allocations: 480 / 0.8229 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.6847, allocations: 6.094 kB / 0.8229 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.685, allocations: 301 kB / 0.8232 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.685, allocations: 0.6562 kB / 0.8232 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.291e-05/0.6851, allocations: 13.67 kB / 0.8232 GB, free: 25.13 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.6851, allocations: 6.031 kB / 0.8232 GB, free: 25.13 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.6851, allocations: 0.5156 kB / 0.8232 GB, free: 25.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.6851, allocations: 5.281 kB / 0.8232 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6851, allocations: 0.8438 kB / 0.8232 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.6854, allocations: 216.8 kB / 0.8234 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.6854, allocations: 6.078 kB / 0.8234 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.6854, allocations: 6.25 kB / 0.8234 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.864e-05/0.6855, allocations: 6.906 kB / 0.8235 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.6855, allocations: 5.172 kB / 0.8235 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.6856, allocations: 6.984 kB / 0.8235 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.681e-05/0.6856, allocations: 89.61 kB / 0.8236 GB, free: 24.87 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6856, allocations: 0 / 0.8236 GB, free: 24.87 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002686/0.6859, allocations: 24.28 kB / 0.8236 GB, free: 24.87 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001338/0.686, allocations: 108.9 kB / 0.8237 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004099/0.6864, allocations: 183.5 kB / 0.8239 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6864, allocations: 1.188 kB / 0.8239 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.6865, allocations: 34.75 kB / 0.8239 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.6868, allocations: 14.66 kB / 0.8239 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.6872, allocations: 167.7 kB / 0.8241 GB, free: 24.49 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.026e-05/0.6873, allocations: 70.28 kB / 0.8241 GB, free: 24.42 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.571e-05/0.6873, allocations: 3.922 kB / 0.8241 GB, free: 24.42 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.6874, allocations: 11.3 kB / 0.8241 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of SimCode: time 3.31e-07/0.6874, allocations: 0 / 0.8241 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of Templates: time 0.005323/0.6927, allocations: 1.553 MB / 0.8257 GB, free: 24.24 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.1730878707021475] Failed to read output from testmodel.py, exit status != 0: 0.7014478892087936 0.714683691 0.032419277 Calling exit ...