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.001469/0.001469, allocations: 78.09 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001943/0.001943, allocations: 165.8 kB / 22.45 MB, free: 5.367 MB / 14.72 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.418/1.418, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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 1.19/1.19, allocations: 154.7 MB / 413.9 MB, free: 5.117 MB / 382.1 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 178] 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.915e-06/2.915e-06, allocations: 0 / 0.6188 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.664e-05, allocations: 6.219 kB / 0.6188 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001741/0.001768, allocations: 0.6331 MB / 0.6194 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.003528, allocations: 1.217 MB / 0.6206 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.003572, allocations: 0 / 0.6206 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.624e-05/0.003599, allocations: 7.938 kB / 0.6206 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.532e-05/0.003664, allocations: 11.86 kB / 0.6206 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006119/0.004276, allocations: 218.5 kB / 0.6208 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.004527, allocations: 179.6 kB / 0.621 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.00462, allocations: 4 kB / 0.621 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.004766, allocations: 91.92 kB / 0.6211 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.004909, allocations: 59.78 kB / 0.6211 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.004948, allocations: 16 kB / 0.6211 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.315e-05/0.005021, allocations: 27.98 kB / 0.6212 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.005044, allocations: 7.984 kB / 0.6212 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.212e-05/0.005126, allocations: 51.95 kB / 0.6212 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.005385, allocations: 187.5 kB / 0.6214 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.005388, allocations: 0 / 0.6214 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.00539, allocations: 0 / 0.6214 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.005396, allocations: 0 / 0.6214 GB, free: 1.824 MB / 0.5294 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.0005747/0.005971, allocations: 353.6 kB / 0.6217 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.006008, allocations: 12.03 kB / 0.6217 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.469e-05/0.006072, allocations: 20.88 kB / 0.6218 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.006178, allocations: 109.7 kB / 0.6219 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.006197, allocations: 4.375 kB / 0.6219 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.006227, allocations: 12.38 kB / 0.6219 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.006357, allocations: 46.23 kB / 0.6219 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.006367, allocations: 192 / 0.6219 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.00638, allocations: 4.375 kB / 0.6219 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.006384, allocations: 384 / 0.6219 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.7e-05/0.006431, allocations: 23.81 kB / 0.6219 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.006906, allocations: 268.5 kB / 0.6222 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.843e-05/0.006995, allocations: 38.56 kB / 0.6222 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.118e-05/0.007026, allocations: 16.86 kB / 0.6223 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.007039, allocations: 0 / 0.6223 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/0.007253, allocations: 91.31 kB / 0.6223 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.007254, allocations: 0 / 0.6223 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0002799/0.007534, allocations: 101.6 kB / 0.6224 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.007593, allocations: 55.41 kB / 0.6225 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.007721, allocations: 121.8 kB / 0.6226 GB, free: 424 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.007755, allocations: 29.7 kB / 0.6226 GB, free: 388 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.391e-05/0.007839, allocations: 100 kB / 0.6227 GB, free: 284 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.007859, allocations: 23.83 kB / 0.6228 GB, free: 260 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.046e-05/0.00795, allocations: 45.69 kB / 0.6228 GB, free: 208 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.008107, allocations: 322.8 kB / 0.6231 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.008279, allocations: 115.4 kB / 0.6232 GB, free: 15.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.008475, allocations: 151.7 kB / 0.6234 GB, free: 15.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.00867, allocations: 159.6 kB / 0.6235 GB, free: 15.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.008672, allocations: 0 / 0.6235 GB, free: 15.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004681/0.00914, allocations: 332.2 kB / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/0.009198, allocations: 63.41 kB / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.009207, allocations: 7.984 kB / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.009223, allocations: 0 / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.274e-05/0.009246, allocations: 7.938 kB / 0.6239 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.009252, allocations: 0 / 0.6239 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.009583, allocations: 60.02 kB / 0.624 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.009617, allocations: 11.98 kB / 0.624 GB, free: 14.88 MB / 0.545 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.0001047/0.009721, allocations: 119.7 kB / 0.6241 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.009737, allocations: 11.89 kB / 0.6241 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.009765, allocations: 12.44 kB / 0.6241 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.009767, allocations: 0 / 0.6241 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.009771, allocations: 0 / 0.6241 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.009776, allocations: 4.453 kB / 0.6241 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.009892, allocations: 121.4 kB / 0.6242 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.009893, allocations: 0 / 0.6242 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-06/0.009901, allocations: 7.938 kB / 0.6242 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.009904, allocations: 3.938 kB / 0.6242 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.009912, allocations: 3.938 kB / 0.6242 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.009913, allocations: 7.938 kB / 0.6243 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.009914, allocations: 0 / 0.6243 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.01007, allocations: 113 kB / 0.6244 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.01008, allocations: 4 kB / 0.6244 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.0101, allocations: 7.922 kB / 0.6244 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.01012, allocations: 0 / 0.6244 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.01015, allocations: 7.984 kB / 0.6244 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/0.01016, allocations: 7.984 kB / 0.6244 GB, free: 14.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.824e-05/0.01021, allocations: 87.28 kB / 0.6245 GB, free: 14.31 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01021, allocations: 0 / 0.6245 GB, free: 14.31 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000232/0.01044, allocations: 39.92 kB / 0.6245 GB, free: 14.27 MB / 0.545 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.000153/0.0106, allocations: 99.19 kB / 0.6246 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003922/0.01099, allocations: 282.1 kB / 0.6249 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01099, allocations: 0 / 0.6249 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.188e-05/0.01103, allocations: 16 kB / 0.6249 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.01126, allocations: 22.42 kB / 0.6249 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.01162, allocations: 153.4 kB / 0.6251 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.558e-05/0.01168, allocations: 71.33 kB / 0.6251 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.403e-05/0.01171, allocations: 4 kB / 0.6251 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.01173, allocations: 12.5 kB / 0.6251 GB, free: 13.53 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.01173, allocations: 0 / 0.6251 GB, free: 13.53 MB / 0.545 GB Notification: Performance of Templates: time 0.005127/0.01686, allocations: 2.064 MB / 0.6272 GB, free: 11.54 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.669883027672768] Failed to read output from testmodel.py, exit status != 0: 0.025377469137310982 0.039704652 0.031361844 Calling exit ...