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.0007624/0.0007624, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 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.0007547/0.0007547, allocations: 211.8 kB / 23 MB, free: 2.977 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.8858/0.8858, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7325/0.7325, allocations: 203.5 MB / 0.5046 GB, free: 10.66 MB / 410.7 MB " [Timeout remaining time 179] 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.0008743/0.0008743, allocations: 62.44 kB / 0.719 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.443, allocations: 102 MB / 0.8186 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001365/0.4444, allocations: 0.7169 MB / 0.8193 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.4454, allocations: 1.209 MB / 0.8205 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.4455, allocations: 3.875 kB / 0.8205 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.812e-05/0.4455, allocations: 8.484 kB / 0.8205 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.271e-05/0.4456, allocations: 17.31 kB / 0.8205 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.446, allocations: 140.7 kB / 0.8206 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.4461, allocations: 116.3 kB / 0.8207 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.885e-05/0.4462, allocations: 10.42 kB / 0.8207 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.755e-05/0.4463, allocations: 48.66 kB / 0.8208 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.209e-05/0.4464, allocations: 43.52 kB / 0.8208 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.4464, allocations: 9.875 kB / 0.8208 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.986e-05/0.4464, allocations: 25.66 kB / 0.8209 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.399e-05/0.4465, allocations: 15.06 kB / 0.8209 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.4465, allocations: 42.14 kB / 0.8209 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.4467, allocations: 116.4 kB / 0.821 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4467, allocations: 0 / 0.821 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4467, allocations: 0 / 0.821 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.4467, allocations: 0 / 0.821 GB, free: 15.94 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.0004819/0.4472, allocations: 335.1 kB / 0.8213 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.4472, allocations: 6.844 kB / 0.8214 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.896e-05/0.4473, allocations: 11.94 kB / 0.8214 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.4477, allocations: 111.6 kB / 0.8215 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.4477, allocations: 6.328 kB / 0.8215 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.4477, allocations: 14.31 kB / 0.8215 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.4479, allocations: 70.59 kB / 0.8216 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.4479, allocations: 3.594 kB / 0.8216 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.4479, allocations: 3.938 kB / 0.8216 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.4479, allocations: 0 / 0.8216 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.448, allocations: 42.47 kB / 0.8216 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.4484, allocations: 248.1 kB / 0.8218 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.4485, allocations: 56.2 kB / 0.8219 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.249e-05/0.4485, allocations: 26.56 kB / 0.8219 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.4485, allocations: 1.547 kB / 0.8219 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.4487, allocations: 88.34 kB / 0.822 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.4487, allocations: 0 / 0.822 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002946/0.449, allocations: 146.9 kB / 0.8221 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.449, allocations: 58.16 kB / 0.8222 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.692e-05/0.4491, allocations: 109.4 kB / 0.8223 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.4491, allocations: 33.3 kB / 0.8223 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.4492, allocations: 96.73 kB / 0.8224 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.4492, allocations: 12.88 kB / 0.8224 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.4492, allocations: 36.45 kB / 0.8225 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.245e-05/0.4493, allocations: 324.8 kB / 0.8228 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.4494, allocations: 76 kB / 0.8229 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.4495, allocations: 109.3 kB / 0.823 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.4497, allocations: 133.4 kB / 0.8231 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.4497, allocations: 0 / 0.8231 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002659/0.4499, allocations: 237.3 kB / 0.8233 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.45, allocations: 33.25 kB / 0.8234 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.45, allocations: 9.469 kB / 0.8234 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.45, allocations: 2.328 kB / 0.8234 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.726e-05/0.4501, allocations: 15.08 kB / 0.8234 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.4501, allocations: 2.078 kB / 0.8234 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.4502, allocations: 31.41 kB / 0.8234 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.4502, allocations: 7.875 kB / 0.8234 GB, free: 13.97 MB / 0.6198 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.083e-05/0.4503, allocations: 124.4 kB / 0.8235 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.4503, allocations: 11.39 kB / 0.8235 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.4505, allocations: 122.6 kB / 0.8237 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4505, allocations: 3.938 kB / 0.8237 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4505, allocations: 2.219 kB / 0.8237 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.4505, allocations: 0 / 0.8237 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.4507, allocations: 310.7 kB / 0.824 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4507, allocations: 0 / 0.824 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.042e-05/0.4507, allocations: 13.78 kB / 0.824 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.4507, allocations: 1.656 kB / 0.824 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.4507, allocations: 3.047 kB / 0.824 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4507, allocations: 1.531 kB / 0.824 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4507, allocations: 0 / 0.824 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.4509, allocations: 205.9 kB / 0.8242 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.4509, allocations: 6.359 kB / 0.8242 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.4509, allocations: 8.922 kB / 0.8242 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.037e-05/0.451, allocations: 4.672 kB / 0.8242 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.451, allocations: 13.5 kB / 0.8242 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.451, allocations: 2.156 kB / 0.8242 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.51e-05/0.451, allocations: 91.72 kB / 0.8243 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.451, allocations: 0 / 0.8243 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001745/0.4512, allocations: 24.09 kB / 0.8243 GB, free: 13.25 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: 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.0001131/0.4513, allocations: 101.3 kB / 0.8244 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002474/0.4516, allocations: 185 kB / 0.8246 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.4516, allocations: 1.062 kB / 0.8246 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.047e-05/0.4516, allocations: 35.44 kB / 0.8246 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.4518, allocations: 11.28 kB / 0.8246 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.4521, allocations: 202.7 kB / 0.8248 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.65e-05/0.4522, allocations: 74.2 kB / 0.8249 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.4522, allocations: 15.72 kB / 0.8249 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.4522, allocations: 3.938 kB / 0.8249 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of Templates: time 0.002353/0.4546, allocations: 1.212 MB / 0.8261 GB, free: 12.66 MB / 0.6198 GB " [Timeout remaining time 660] 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: 5.356446844059974] Failed to read output from testmodel.py, exit status != 0: 0.4601592803373933 0.47616865399999997 0.027029084000000002 Calling exit ...