Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.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.0009816/0.0009816, allocations: 93.06 kB / 19.65 MB, free: 280 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.001112/0.001112, allocations: 165 kB / 23.02 MB, free: 1.551 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.047/1.047, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.802/0.802, allocations: 154.6 MB / 414.5 MB, free: 0.6797 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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.791e-05, allocations: 3.578 kB / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001277/0.001305, allocations: 0.646 MB / 0.521 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.002485, allocations: 1.24 MB / 0.5222 GB, free: 344 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.002523, allocations: 0 / 0.5222 GB, free: 344 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.002552, allocations: 7.938 kB / 0.5222 GB, free: 336 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.838e-05/0.00262, allocations: 11.86 kB / 0.5222 GB, free: 324 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.003087, allocations: 204.9 kB / 0.5224 GB, free: 120 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.003266, allocations: 171.7 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.877e-05/0.003355, allocations: 16.53 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.003464, allocations: 96.84 kB / 0.5227 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.003567, allocations: 51.84 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.003595, allocations: 16 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.448e-05/0.00366, allocations: 25.17 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.003683, allocations: 15.92 kB / 0.5228 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.044e-05/0.003744, allocations: 43.95 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.003932, allocations: 148.1 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.003934, allocations: 0.9688 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003935, allocations: 0 / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.003939, allocations: 0 / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000394/0.004333, allocations: 457.6 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.004372, allocations: 12.03 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/0.004427, allocations: 16.88 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.799e-05/0.004505, allocations: 112.6 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.004518, allocations: 4.375 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.004541, allocations: 13.56 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.439e-05/0.004625, allocations: 42.23 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.004634, allocations: 4.172 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.004644, allocations: 1.062 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.004651, allocations: 4.375 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.599e-05/0.004677, allocations: 17.06 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.005036, allocations: 327.7 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.711e-05/0.005103, allocations: 40.48 kB / 0.5239 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.005124, allocations: 11.69 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.005131, allocations: 0 / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.89e-05/0.00523, allocations: 93.77 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.005231, allocations: 0 / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001878/0.005419, allocations: 98.69 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.005451, allocations: 55.41 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.748e-05/0.005539, allocations: 185.8 kB / 0.5244 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.00556, allocations: 32.48 kB / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.005614, allocations: 134.9 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.005628, allocations: 23.83 kB / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-05/0.005694, allocations: 51.34 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.005802, allocations: 0.4884 MB / 0.5251 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.005909, allocations: 111.4 kB / 0.5252 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.006023, allocations: 157.8 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.006144, allocations: 157.4 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.006146, allocations: 4 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002944/0.00644, allocations: 320.2 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.077e-05/0.006481, allocations: 67.39 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.006486, allocations: 6.75 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.0065, allocations: 0 / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.953e-05/0.00652, allocations: 11.94 kB / 0.5259 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.006525, allocations: 0 / 0.5259 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.006696, allocations: 43.89 kB / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.006717, allocations: 11.98 kB / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.608e-05/0.006793, allocations: 165.9 kB / 0.5261 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.006806, allocations: 11.89 kB / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.006831, allocations: 8.938 kB / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.006834, allocations: 5.031 kB / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.006838, allocations: 0 / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.006841, allocations: 0 / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.654e-05/0.006918, allocations: 129.7 kB / 0.5262 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.006919, allocations: 3.938 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.059e-06/0.006924, allocations: 4 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.006926, allocations: 0.625 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.006933, allocations: 3.938 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.006934, allocations: 0.6562 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.006935, allocations: 3.438 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.007042, allocations: 120.4 kB / 0.5264 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-06/0.00705, allocations: 7.953 kB / 0.5264 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.007064, allocations: 11.92 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.14e-05/0.007075, allocations: 0 / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.007107, allocations: 0 / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.007113, allocations: 8.047 kB / 0.5264 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.754e-05/0.00716, allocations: 135.1 kB / 0.5265 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00716, allocations: 0 / 0.5265 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000155/0.007315, allocations: 39.92 kB / 0.5266 GB, free: 11.46 MB / 0.4948 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * 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.0003698/0.007685, allocations: 100.7 kB / 0.5267 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.007924, allocations: 277.8 kB / 0.5269 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007925, allocations: 0 / 0.5269 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.014e-05/0.007955, allocations: 28.52 kB / 0.5269 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.008125, allocations: 20.44 kB / 0.527 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.008401, allocations: 171.4 kB / 0.5271 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.853e-05/0.00844, allocations: 59.34 kB / 0.5272 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.517e-05/0.008465, allocations: 5.75 kB / 0.5272 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.008487, allocations: 12.5 kB / 0.5272 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of SimCode: time 7.92e-07/0.008488, allocations: 0 / 0.5272 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.004094/0.01258, allocations: 2.046 MB / 0.5292 GB, free: 8.781 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.892425763886422]