Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.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.001603/0.001603, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00185/0.00185, allocations: 213.8 kB / 22.24 MB, free: 4.859 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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.277/1.277, allocations: 203.5 MB / 0.5038 GB, free: 4.922 MB / 414.1 MB " [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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 59.91 kB / 0.7183 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7608/0.7629, allocations: 102 MB / 0.8179 GB, free: 29.05 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002086/0.765, allocations: 0.6788 MB / 0.8185 GB, free: 28.66 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.7667, allocations: 1.284 MB / 0.8198 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.7668, allocations: 3.531 kB / 0.8198 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.7668, allocations: 4.734 kB / 0.8198 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.836e-05/0.7669, allocations: 24.86 kB / 0.8198 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000842/0.7678, allocations: 299.6 kB / 0.8201 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003926/0.7681, allocations: 260.8 kB / 0.8203 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.7683, allocations: 10.66 kB / 0.8204 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.7684, allocations: 100 kB / 0.8204 GB, free: 27.42 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.7686, allocations: 82.11 kB / 0.8205 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.7686, allocations: 26.66 kB / 0.8206 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.626e-05/0.7687, allocations: 32.09 kB / 0.8206 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.7688, allocations: 19.7 kB / 0.8206 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.7689, allocations: 81.97 kB / 0.8207 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.7693, allocations: 216 kB / 0.8209 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7693, allocations: 4.812 kB / 0.8209 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7693, allocations: 0.6875 kB / 0.8209 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.7693, allocations: 1.219 kB / 0.8209 GB, free: 27.27 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006083/0.7699, allocations: 421.5 kB / 0.8213 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.7699, allocations: 9.156 kB / 0.8213 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.28e-05/0.77, allocations: 19.86 kB / 0.8213 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.423e-05/0.7701, allocations: 118.4 kB / 0.8214 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.7701, allocations: 9.734 kB / 0.8214 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.097e-05/0.7702, allocations: 14.45 kB / 0.8215 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.7704, allocations: 59.5 kB / 0.8215 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.7704, allocations: 4.438 kB / 0.8215 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.7704, allocations: 2.016 kB / 0.8215 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.7704, allocations: 1.688 kB / 0.8215 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.018e-05/0.7705, allocations: 21.06 kB / 0.8215 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000573/0.771, allocations: 318.1 kB / 0.8218 GB, free: 26.44 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.345e-05/0.7711, allocations: 37.17 kB / 0.8219 GB, free: 26.41 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.259e-05/0.7712, allocations: 17.75 kB / 0.8219 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.7712, allocations: 1.375 kB / 0.8219 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002499/0.7714, allocations: 99.17 kB / 0.822 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.7714, allocations: 0 / 0.822 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.0003685/0.7718, allocations: 140.4 kB / 0.8221 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.7718, allocations: 62.73 kB / 0.8222 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.7719, allocations: 140.2 kB / 0.8223 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.772, allocations: 34.48 kB / 0.8224 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.7721, allocations: 98.3 kB / 0.8224 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.7721, allocations: 20.02 kB / 0.8225 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.7722, allocations: 69.88 kB / 0.8225 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.501e-05/0.7723, allocations: 319.4 kB / 0.8228 GB, free: 25.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.7726, allocations: 180.9 kB / 0.823 GB, free: 25.47 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.7728, allocations: 228.5 kB / 0.8232 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.7731, allocations: 245.7 kB / 0.8235 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.7731, allocations: 1.375 kB / 0.8235 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006499/0.7738, allocations: 472.8 kB / 0.8239 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.318e-05/0.7738, allocations: 96.22 kB / 0.824 GB, free: 24.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.7738, allocations: 2.562 kB / 0.824 GB, free: 24.67 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.7739, allocations: 6.016 kB / 0.824 GB, free: 24.67 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.924e-05/0.7739, allocations: 3.188 kB / 0.824 GB, free: 24.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.7739, allocations: 7.516 kB / 0.824 GB, free: 24.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005137/0.7744, allocations: 86.53 kB / 0.8241 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/0.7745, allocations: 21.42 kB / 0.8241 GB, free: 24.65 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001101/0.7746, allocations: 133.1 kB / 0.8243 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.7746, allocations: 8.391 kB / 0.8243 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.148e-05/0.7746, allocations: 11.8 kB / 0.8243 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.7746, allocations: 0.7031 kB / 0.8243 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.7746, allocations: 1.438 kB / 0.8243 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.7746, allocations: 4.688 kB / 0.8243 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.7747, allocations: 133.3 kB / 0.8244 GB, free: 24.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7748, allocations: 0 / 0.8244 GB, free: 24.37 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.36e-05/0.7748, allocations: 6.781 kB / 0.8244 GB, free: 24.37 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.7748, allocations: 1.719 kB / 0.8244 GB, free: 24.37 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.7748, allocations: 6.562 kB / 0.8244 GB, free: 24.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7748, allocations: 0 / 0.8244 GB, free: 24.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7748, allocations: 1.312 kB / 0.8244 GB, free: 24.36 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.775, allocations: 146.3 kB / 0.8246 GB, free: 24.27 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.775, allocations: 15.16 kB / 0.8246 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.775, allocations: 1.828 kB / 0.8246 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.496e-05/0.775, allocations: 2.516 kB / 0.8246 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.7751, allocations: 10.08 kB / 0.8246 GB, free: 24.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.7751, allocations: 5.109 kB / 0.8246 GB, free: 24.25 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.235e-05/0.7751, allocations: 102.1 kB / 0.8247 GB, free: 24.17 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7751, allocations: 0 / 0.8247 GB, free: 24.17 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002758/0.7754, allocations: 44.62 kB / 0.8247 GB, free: 24.17 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000188/0.7756, allocations: 112.4 kB / 0.8248 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005073/0.7761, allocations: 411.1 kB / 0.8252 GB, free: 23.73 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7761, allocations: 3.938 kB / 0.8252 GB, free: 23.73 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.628e-05/0.7762, allocations: 36.91 kB / 0.8253 GB, free: 23.71 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.7765, allocations: 28.7 kB / 0.8253 GB, free: 23.71 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004082/0.7769, allocations: 196.2 kB / 0.8255 GB, free: 23.55 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.195e-05/0.7769, allocations: 81.28 kB / 0.8256 GB, free: 23.47 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.632e-05/0.777, allocations: 8.234 kB / 0.8256 GB, free: 23.47 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.777, allocations: 11.75 kB / 0.8256 GB, free: 23.46 MB / 0.6387 GB Notification: Performance of SimCode: time 3.41e-07/0.777, allocations: 0 / 0.8256 GB, free: 23.46 MB / 0.6387 GB Notification: Performance of Templates: time 0.007737/0.7847, allocations: 2.983 MB / 0.8285 GB, free: 23.12 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.040509091690183] Failed to read output from testmodel.py, exit status != 0: 0.793195741251111 0.806245699 0.034116871 Calling exit ...