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.0009626/0.0009626, allocations: 93.06 kB / 19.65 MB, free: 272 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.0009581/0.0009581, allocations: 169 kB / 23.03 MB, free: 1.539 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 0.9127/0.9127, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7705/0.7705, 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 2.956e-06/2.956e-06, allocations: 0.5469 kB / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.139e-05/3.435e-05, allocations: 6.531 kB / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.00194/0.001974, allocations: 0.6359 MB / 0.521 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.003661, allocations: 1.242 MB / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/0.003711, allocations: 0 / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.639e-05/0.003748, allocations: 3.938 kB / 0.5222 GB, free: 336 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.04e-05/0.003838, allocations: 19.8 kB / 0.5222 GB, free: 316 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006663/0.004504, allocations: 208 kB / 0.5224 GB, free: 108 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004131/0.004918, allocations: 172.4 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.005019, allocations: 16.77 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.005178, allocations: 91.88 kB / 0.5227 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.00531, allocations: 47.91 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.042e-05/0.005351, allocations: 17.47 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.008e-05/0.005431, allocations: 23.98 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.682e-05/0.005458, allocations: 15.92 kB / 0.5228 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.005535, allocations: 39.97 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.005773, allocations: 152.5 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.005777, allocations: 0 / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.342e-06/0.005779, allocations: 1.156 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.005784, allocations: 0 / 0.5229 GB, free: 15.54 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.0005007/0.006284, allocations: 455.9 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.006325, allocations: 13.44 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.347e-05/0.006399, allocations: 16.88 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.234e-05/0.006491, allocations: 112.6 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.006515, allocations: 4.375 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.006544, allocations: 13.19 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.006648, allocations: 46.17 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.006656, allocations: 1.469 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.006666, allocations: 384 / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.006677, allocations: 8.359 kB / 0.5236 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.247e-05/0.00671, allocations: 11.94 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.007137, allocations: 329 kB / 0.5239 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.405e-05/0.007221, allocations: 39.05 kB / 0.5239 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.69e-05/0.007248, allocations: 16.41 kB / 0.524 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.007255, allocations: 0 / 0.524 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.007388, allocations: 90.8 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.007389, allocations: 0 / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002399/0.007629, allocations: 93.86 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.007669, allocations: 59.34 kB / 0.5242 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.00778, allocations: 185.8 kB / 0.5244 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.007811, allocations: 31.86 kB / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.007878, allocations: 138.9 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.007896, allocations: 15.91 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.633e-05/0.007982, allocations: 51.34 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.008111, allocations: 0.4884 MB / 0.5251 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.00825, allocations: 112.3 kB / 0.5252 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.008405, allocations: 157.8 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.008576, allocations: 155.2 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.00858, allocations: 8.625 kB / 0.5255 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004317/0.009011, allocations: 329.3 kB / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/0.009062, allocations: 65.58 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.009069, allocations: 4.594 kB / 0.5259 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.009083, allocations: 0 / 0.5259 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.22e-05/0.009105, allocations: 8.625 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.009112, allocations: 4.062 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.009332, allocations: 45.27 kB / 0.5259 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.009363, allocations: 10.44 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 0.0003092/0.009672, allocations: 172.5 kB / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.009692, allocations: 11.89 kB / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.009721, allocations: 8.438 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.009725, allocations: 4 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.009728, allocations: 2.875 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.009732, allocations: 0 / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.009839, allocations: 128.6 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.009841, allocations: 0 / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.698e-06/0.009851, allocations: 4 kB / 0.5263 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.009853, allocations: 0 / 0.5263 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.009862, allocations: 3.938 kB / 0.5263 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.009864, allocations: 0 / 0.5263 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.009865, allocations: 0.6875 kB / 0.5263 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.009998, allocations: 124.4 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-06/0.01001, allocations: 5.234 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.01002, allocations: 15.86 kB / 0.5264 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.931e-05/0.01004, allocations: 0 / 0.5264 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.01008, allocations: 0 / 0.5264 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.01009, allocations: 10.73 kB / 0.5264 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.712e-05/0.01014, allocations: 131.2 kB / 0.5265 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01014, allocations: 0 / 0.5265 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002306/0.01037, allocations: 35.98 kB / 0.5266 GB, free: 11.45 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.000144/0.01051, allocations: 91.25 kB / 0.5267 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002999/0.01081, allocations: 284.5 kB / 0.5269 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01081, allocations: 0 / 0.5269 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.061e-05/0.01085, allocations: 27.67 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.0002243/0.01108, allocations: 24.61 kB / 0.527 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.01141, allocations: 167.6 kB / 0.5271 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.726e-05/0.01144, allocations: 59.34 kB / 0.5272 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.812e-05/0.01147, allocations: 5.25 kB / 0.5272 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.296e-05/0.0115, allocations: 12.5 kB / 0.5272 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of SimCode: time 8.11e-07/0.0115, allocations: 1.594 kB / 0.5272 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.003994/0.01549, allocations: 2.235 MB / 0.5294 GB, free: 8.602 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.5412897039204836]