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.0008742/0.0008742, allocations: 80.94 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.0009967/0.0009967, allocations: 177 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 0.9735/0.9735, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.7415/0.7415, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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.355e-06/2.355e-06, allocations: 0 / 480 MB, free: 6.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.195e-05, allocations: 6.969 kB / 480 MB, free: 6.91 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001708/0.001729, allocations: 0.6426 MB / 480.6 MB, free: 6.297 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.003163, allocations: 1.245 MB / 481.9 MB, free: 5.043 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.135e-05/0.003205, allocations: 0 / 481.9 MB, free: 5.043 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/0.003231, allocations: 5.25 kB / 481.9 MB, free: 5.039 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.542e-05/0.003307, allocations: 17.28 kB / 481.9 MB, free: 5.027 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.003876, allocations: 209.6 kB / 482.1 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.004095, allocations: 177.3 kB / 482.3 MB, free: 4.664 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.145e-05/0.004166, allocations: 4.625 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.004295, allocations: 94 kB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.004411, allocations: 55.25 kB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.004441, allocations: 12 kB / 482.5 MB, free: 4.508 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.919e-05/0.00451, allocations: 35.92 kB / 482.5 MB, free: 4.473 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.004533, allocations: 17.12 kB / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.281e-05/0.004596, allocations: 43.95 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.004907, allocations: 140.5 kB / 482.7 MB, free: 4.277 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004909, allocations: 0 / 482.7 MB, free: 4.277 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.00491, allocations: 1.188 kB / 482.7 MB, free: 4.277 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.004913, allocations: 0 / 482.7 MB, free: 4.277 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003665/0.00528, allocations: 331.3 kB / 483 MB, free: 3.918 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.005315, allocations: 8.719 kB / 483 MB, free: 3.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.00536, allocations: 12.92 kB / 483 MB, free: 3.898 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.564e-05/0.005446, allocations: 118.6 kB / 483.1 MB, free: 3.758 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.005459, allocations: 4.375 kB / 483.2 MB, free: 3.754 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.005486, allocations: 13.23 kB / 483.2 MB, free: 3.742 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.153e-05/0.005558, allocations: 46.25 kB / 483.2 MB, free: 3.691 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.005564, allocations: 192 / 483.2 MB, free: 3.691 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.005571, allocations: 1 kB / 483.2 MB, free: 3.691 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.005577, allocations: 1.219 kB / 483.2 MB, free: 3.691 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.706e-05/0.005594, allocations: 11.92 kB / 483.2 MB, free: 3.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.005868, allocations: 185.4 kB / 483.4 MB, free: 3.484 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.51e-05/0.005923, allocations: 30.62 kB / 483.4 MB, free: 3.445 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.424e-05/0.005937, allocations: 4.859 kB / 483.4 MB, free: 3.438 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.219e-06/0.005942, allocations: 5.125 kB / 483.4 MB, free: 3.434 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.48e-05/0.006037, allocations: 75.39 kB / 483.5 MB, free: 3.348 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.006038, allocations: 1.156 kB / 483.5 MB, free: 3.348 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001392/0.006177, allocations: 73.55 kB / 483.6 MB, free: 3.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.006212, allocations: 59.41 kB / 483.6 MB, free: 3.199 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.289e-05/0.006285, allocations: 123.4 kB / 483.8 MB, free: 3.066 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.00631, allocations: 29.7 kB / 483.8 MB, free: 3.031 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.006355, allocations: 89.59 kB / 483.9 MB, free: 2.941 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.006369, allocations: 15.94 kB / 483.9 MB, free: 2.926 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-05/0.006447, allocations: 45.66 kB / 483.9 MB, free: 2.875 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.559e-05/0.006523, allocations: 322.8 kB / 484.3 MB, free: 2.551 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-05/0.00661, allocations: 96.78 kB / 484.4 MB, free: 2.445 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.755e-05/0.006707, allocations: 131.6 kB / 484.5 MB, free: 2.289 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.00682, allocations: 144.3 kB / 484.6 MB, free: 2.121 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.006823, allocations: 0.9062 kB / 484.6 MB, free: 2.121 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002352/0.007058, allocations: 257.2 kB / 484.9 MB, free: 1.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.0071, allocations: 68.3 kB / 484.9 MB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.007106, allocations: 3.938 kB / 484.9 MB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.00712, allocations: 4 kB / 485 MB, free: 1.754 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.746e-05/0.007137, allocations: 4.609 kB / 485 MB, free: 1.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.007141, allocations: 4.625 kB / 485 MB, free: 1.746 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.007317, allocations: 45.11 kB / 485 MB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.007338, allocations: 11.98 kB / 485 MB, free: 1.691 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: 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 8.401e-05/0.007422, allocations: 122.4 kB / 485.1 MB, free: 1.562 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.007435, allocations: 8.609 kB / 485.1 MB, free: 1.555 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.007458, allocations: 13.03 kB / 485.2 MB, free: 1.543 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.007461, allocations: 0 / 485.2 MB, free: 1.543 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.007463, allocations: 4.75 kB / 485.2 MB, free: 1.539 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.007466, allocations: 0 / 485.2 MB, free: 1.539 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.368e-05/0.00755, allocations: 75.66 kB / 485.2 MB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.007552, allocations: 2.766 kB / 485.2 MB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.102e-06/0.007558, allocations: 0 / 485.2 MB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.007561, allocations: 4 kB / 485.2 MB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.007567, allocations: 4.062 kB / 485.2 MB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.007569, allocations: 1.219 kB / 485.2 MB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.007571, allocations: 3.938 kB / 485.3 MB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.398e-05/0.007665, allocations: 85.34 kB / 485.3 MB, free: 1.336 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.007676, allocations: 12.97 kB / 485.3 MB, free: 1.324 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.007688, allocations: 4 kB / 485.4 MB, free: 1.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.67e-05/0.007704, allocations: 0 / 485.4 MB, free: 1.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.007736, allocations: 12.45 kB / 485.4 MB, free: 1.309 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.00774, allocations: 0 / 485.4 MB, free: 1.309 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.929e-05/0.007759, allocations: 22.03 kB / 485.4 MB, free: 1.285 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00776, allocations: 0 / 485.4 MB, free: 1.285 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000202/0.007962, allocations: 28 kB / 485.4 MB, free: 1.258 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 ($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.0001204/0.008082, allocations: 87.59 kB / 485.5 MB, free: 1.168 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.008309, allocations: 255 kB / 485.7 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.008313, allocations: 0 / 485.7 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.007e-05/0.008343, allocations: 28.84 kB / 485.8 MB, free: 0.8477 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.008477, allocations: 18.3 kB / 485.8 MB, free: 0.832 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.008737, allocations: 150.9 kB / 485.9 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.267e-05/0.00877, allocations: 61.27 kB / 486 MB, free: 0.5781 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.515e-05/0.008795, allocations: 7.984 kB / 486 MB, free: 0.5703 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/0.009152, allocations: 75.34 kB / 486.1 MB, free: 0.4961 MB / 442.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009153, allocations: 0 / 486.1 MB, free: 0.4961 MB / 442.7 MB Notification: Performance of Templates: time 0.004442/0.01359, allocations: 2.213 MB / 488.3 MB, free: 14.45 MB / 458.7 MB " [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.5816171690821648]