Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001531/0.001531, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001737/0.001737, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.054/1.054, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.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-545:108: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-545:116: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.8308/0.8308, allocations: 154.6 MB / 414.8 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 480.1 MB, free: 6.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.344e-05, allocations: 4.562 kB / 480.1 MB, free: 6.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.002038/0.002062, allocations: 0.7786 MB / 480.8 MB, free: 6.078 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.003786, allocations: 1.207 MB / 482 MB, free: 4.863 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.67e-05/0.003832, allocations: 0 / 482 MB, free: 4.863 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.003861, allocations: 4.656 kB / 482 MB, free: 4.859 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.696e-05/0.003938, allocations: 14.98 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.004362, allocations: 130 kB / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.004549, allocations: 119.7 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.062e-05/0.004629, allocations: 16.67 kB / 482.3 MB, free: 4.602 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.004763, allocations: 66.45 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.924e-05/0.004853, allocations: 34.66 kB / 482.4 MB, free: 4.508 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.004878, allocations: 13.45 kB / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.498e-05/0.004953, allocations: 19.98 kB / 482.5 MB, free: 4.477 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.004977, allocations: 22.06 kB / 482.5 MB, free: 4.461 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.005023, allocations: 27.98 kB / 482.5 MB, free: 4.434 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.005184, allocations: 104.9 kB / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.005187, allocations: 0 / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005188, allocations: 0 / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.005191, allocations: 1.062 kB / 482.6 MB, free: 4.332 MB / 442.7 MB 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.0003744/0.005566, allocations: 305.6 kB / 482.9 MB, free: 4.004 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.005596, allocations: 9.188 kB / 482.9 MB, free: 3.996 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.005628, allocations: 8.938 kB / 482.9 MB, free: 3.988 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.101e-05/0.005709, allocations: 113.7 kB / 483 MB, free: 3.852 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.005724, allocations: 9.219 kB / 483 MB, free: 3.844 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.005743, allocations: 8.906 kB / 483 MB, free: 3.836 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.005844, allocations: 60.56 kB / 483.1 MB, free: 3.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.005852, allocations: 4.188 kB / 483.1 MB, free: 3.766 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.00586, allocations: 4.375 kB / 483.1 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.005865, allocations: 384 / 483.1 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.08e-05/0.005896, allocations: 15.39 kB / 483.1 MB, free: 3.75 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.006195, allocations: 180.2 kB / 483.3 MB, free: 3.559 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.907e-05/0.006284, allocations: 43.22 kB / 483.4 MB, free: 3.508 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.405e-05/0.006308, allocations: 13.89 kB / 483.4 MB, free: 3.492 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.006315, allocations: 0 / 483.4 MB, free: 3.492 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001029/0.006418, allocations: 68.25 kB / 483.4 MB, free: 3.414 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.006419, allocations: 3.938 kB / 483.4 MB, free: 3.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001411/0.006561, allocations: 78.67 kB / 483.5 MB, free: 3.328 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.006601, allocations: 55.41 kB / 483.6 MB, free: 3.262 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.47e-05/0.006676, allocations: 126.6 kB / 483.7 MB, free: 3.125 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.006699, allocations: 26.33 kB / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.006762, allocations: 96.69 kB / 483.8 MB, free: 2.996 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.006783, allocations: 19.88 kB / 483.8 MB, free: 2.977 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/0.006843, allocations: 34.31 kB / 483.9 MB, free: 2.938 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.006922, allocations: 322.8 kB / 484.2 MB, free: 2.613 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.007246, allocations: 54.31 kB / 484.2 MB, free: 2.555 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.074e-05/0.007327, allocations: 85.98 kB / 484.3 MB, free: 2.453 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.007436, allocations: 111.1 kB / 484.4 MB, free: 2.324 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007438, allocations: 0.6875 kB / 484.4 MB, free: 2.324 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001918/0.00763, allocations: 170.7 kB / 484.6 MB, free: 2.141 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.007664, allocations: 37.69 kB / 484.6 MB, free: 2.098 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.007668, allocations: 0 / 484.6 MB, free: 2.098 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.007682, allocations: 5.156 kB / 484.6 MB, free: 2.094 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.977e-05/0.007751, allocations: 15.94 kB / 484.6 MB, free: 2.078 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.007756, allocations: 3.984 kB / 484.7 MB, free: 2.074 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.007875, allocations: 28.97 kB / 484.7 MB, free: 2.047 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.007893, allocations: 4 kB / 484.7 MB, free: 2.043 MB / 442.7 MB 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 7.695e-05/0.00797, allocations: 127.3 kB / 484.8 MB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.007983, allocations: 4 kB / 484.8 MB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.008007, allocations: 8.438 kB / 484.8 MB, free: 1.898 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.008011, allocations: 9 kB / 484.8 MB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.008013, allocations: 0 / 484.8 MB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.008017, allocations: 3.984 kB / 484.8 MB, free: 1.887 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.008235, allocations: 221 kB / 485 MB, free: 1.648 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.008237, allocations: 0 / 485 MB, free: 1.648 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.204e-05/0.008269, allocations: 7.984 kB / 485.1 MB, free: 1.641 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.008272, allocations: 3.938 kB / 485.1 MB, free: 1.641 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.205e-05/0.008344, allocations: 3.938 kB / 485.1 MB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.008346, allocations: 5.5 kB / 485.1 MB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008347, allocations: 3.938 kB / 485.1 MB, free: 1.629 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.008458, allocations: 151.5 kB / 485.2 MB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.008468, allocations: 3.953 kB / 485.2 MB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.008487, allocations: 13.91 kB / 485.2 MB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.008555, allocations: 7.984 kB / 485.2 MB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.008588, allocations: 7.984 kB / 485.3 MB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.008593, allocations: 0 / 485.3 MB, free: 1.434 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.028e-05/0.008614, allocations: 16.86 kB / 485.3 MB, free: 1.414 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008614, allocations: 0.75 kB / 485.3 MB, free: 1.414 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001725/0.008786, allocations: 27.98 kB / 485.3 MB, free: 1.387 MB / 442.7 MB 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.0001089/0.008895, allocations: 85.25 kB / 485.4 MB, free: 1.297 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.009088, allocations: 155 kB / 485.5 MB, free: 1.125 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.009091, allocations: 1.125 kB / 485.5 MB, free: 1.125 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.758e-05/0.009129, allocations: 16.86 kB / 485.6 MB, free: 1.105 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.009345, allocations: 21.17 kB / 485.6 MB, free: 1.086 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.009638, allocations: 163.7 kB / 485.7 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.023e-05/0.009679, allocations: 59.34 kB / 485.8 MB, free: 0.8203 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.983e-05/0.009708, allocations: 9.047 kB / 485.8 MB, free: 0.8125 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.00981, allocations: 71.36 kB / 485.9 MB, free: 0.7422 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.00981, allocations: 0.75 kB / 485.9 MB, free: 0.7422 MB / 442.7 MB Notification: Performance of Templates: time 0.004057/0.01387, allocations: 1.643 MB / 487.5 MB, free: 15.22 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.703700764104724]