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.00091/0.00091, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.001177/0.001177, allocations: 169 kB / 24.05 MB, free: 460 kB / 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.9118/0.9118, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.7385/0.7385, allocations: 154.6 MB / 415.6 MB, free: 0.5273 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.845e-06/2.845e-06, allocations: 0 / 0.5215 GB, free: 1.895 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/3.079e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.891 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.002117/0.002148, allocations: 0.6273 MB / 0.5222 GB, free: 1.285 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.003331, allocations: 1.243 MB / 0.5234 GB, free: 32 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.003374, allocations: 0 / 0.5234 GB, free: 32 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.0034, allocations: 3.938 kB / 0.5234 GB, free: 28 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.412e-05/0.003475, allocations: 16.44 kB / 0.5234 GB, free: 12 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.003984, allocations: 209 kB / 0.5236 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.004177, allocations: 176.7 kB / 0.5238 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.96e-05/0.004266, allocations: 7.984 kB / 0.5238 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.004381, allocations: 96.48 kB / 0.5239 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.004485, allocations: 51.91 kB / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.00451, allocations: 17.28 kB / 0.5239 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.239e-05/0.004573, allocations: 20 kB / 0.5239 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.004595, allocations: 15.92 kB / 0.524 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.812e-05/0.004643, allocations: 44.61 kB / 0.524 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.004813, allocations: 143.6 kB / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.004818, allocations: 5.547 kB / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.402e-06/0.004819, allocations: 0 / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.004825, allocations: 0 / 0.5241 GB, free: 15.25 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.0004024/0.005227, allocations: 455.9 kB / 0.5246 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.00526, allocations: 12.59 kB / 0.5246 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.005303, allocations: 12.89 kB / 0.5246 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.805e-05/0.005381, allocations: 125.9 kB / 0.5247 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.005394, allocations: 4.375 kB / 0.5247 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.005412, allocations: 12.38 kB / 0.5247 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.456e-05/0.005477, allocations: 42.94 kB / 0.5248 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.005483, allocations: 192 / 0.5248 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.005491, allocations: 8.344 kB / 0.5248 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.005494, allocations: 1.406 kB / 0.5248 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.536e-05/0.005509, allocations: 11.94 kB / 0.5248 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.00581, allocations: 313.4 kB / 0.5251 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.487e-05/0.005874, allocations: 31.06 kB / 0.5251 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.841e-05/0.005893, allocations: 18.17 kB / 0.5251 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.0059, allocations: 4 kB / 0.5251 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.006001, allocations: 77.02 kB / 0.5252 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.006003, allocations: 0 / 0.5252 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001637/0.006167, allocations: 89.56 kB / 0.5253 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.006201, allocations: 67.28 kB / 0.5254 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.892e-05/0.00629, allocations: 183.4 kB / 0.5255 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.006313, allocations: 29.7 kB / 0.5256 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.006371, allocations: 134.9 kB / 0.5257 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.006385, allocations: 19.88 kB / 0.5257 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.00645, allocations: 55.33 kB / 0.5258 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.006571, allocations: 0.4889 MB / 0.5263 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.253e-05/0.006653, allocations: 100.4 kB / 0.5263 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.126e-05/0.006744, allocations: 145.8 kB / 0.5265 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.006854, allocations: 155.5 kB / 0.5266 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.006855, allocations: 0 / 0.5266 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002743/0.00713, allocations: 305.2 kB / 0.5269 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.283e-05/0.007173, allocations: 72.02 kB / 0.527 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.007177, allocations: 320 / 0.527 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.104e-06/0.007184, allocations: 6.75 kB / 0.527 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.692e-05/0.007201, allocations: 7.984 kB / 0.527 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.007204, allocations: 4 kB / 0.527 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.007354, allocations: 35.91 kB / 0.527 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.007373, allocations: 15.97 kB / 0.5271 GB, free: 11.94 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.644e-05/0.007449, allocations: 173.3 kB / 0.5272 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.007463, allocations: 11.95 kB / 0.5272 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.104e-05/0.007484, allocations: 16.36 kB / 0.5273 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.007486, allocations: 0 / 0.5273 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.007487, allocations: 0 / 0.5273 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.00749, allocations: 0 / 0.5273 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.651e-05/0.007567, allocations: 113.2 kB / 0.5274 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.007568, allocations: 1.5 kB / 0.5274 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-06/0.007573, allocations: 0 / 0.5274 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.007575, allocations: 0 / 0.5274 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.00758, allocations: 4 kB / 0.5274 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.007582, allocations: 3.25 kB / 0.5274 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.007583, allocations: 3.938 kB / 0.5274 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.961e-05/0.007683, allocations: 116.4 kB / 0.5275 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-06/0.007689, allocations: 3.953 kB / 0.5275 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-06/0.007697, allocations: 7.922 kB / 0.5275 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.43e-05/0.007712, allocations: 8.062 kB / 0.5275 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.007733, allocations: 7.875 kB / 0.5275 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.007739, allocations: 11.98 kB / 0.5275 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.792e-05/0.007776, allocations: 127.2 kB / 0.5276 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007777, allocations: 2.438 kB / 0.5276 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001614/0.007938, allocations: 31.98 kB / 0.5277 GB, free: 11.26 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.000112/0.00805, allocations: 101.4 kB / 0.5278 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.008249, allocations: 262.8 kB / 0.528 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.008251, allocations: 0 / 0.528 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.653e-05/0.008278, allocations: 27.66 kB / 0.5281 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.008439, allocations: 26.7 kB / 0.5281 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000254/0.008693, allocations: 158.7 kB / 0.5282 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.475e-05/0.008728, allocations: 61.34 kB / 0.5283 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.39e-05/0.008752, allocations: 4 kB / 0.5283 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.008862, allocations: 102.2 kB / 0.5284 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of SimCode: time 8.92e-07/0.008862, allocations: 0 / 0.5284 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.003757/0.01262, allocations: 2.271 MB / 0.5306 GB, free: 8.301 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.5161740607582033]