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.0007292/0.0007292, allocations: 96.38 kB / 19.7 MB, free: 448 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.0007557/0.0007557, allocations: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 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.9/0.9, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.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-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 0.7519/0.7519, allocations: 203.5 MB / 0.5046 GB, free: 10.7 MB / 410.7 MB " [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: 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.001491/0.001491, allocations: 62.66 kB / 0.719 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5267/0.5282, allocations: 102 MB / 0.8186 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001373/0.5296, allocations: 0.629 MB / 0.8192 GB, free: 1.125 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.5307, allocations: 1.208 MB / 0.8204 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.783e-05/0.5307, allocations: 1.406 kB / 0.8204 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.5308, allocations: 4.641 kB / 0.8204 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.197e-05/0.5308, allocations: 11.75 kB / 0.8204 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/0.5314, allocations: 218.6 kB / 0.8206 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.5315, allocations: 173 kB / 0.8208 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.096e-05/0.5316, allocations: 10.44 kB / 0.8208 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.583e-05/0.5317, allocations: 66.64 kB / 0.8209 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.5318, allocations: 50.83 kB / 0.8209 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.5318, allocations: 15.72 kB / 0.8209 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.183e-05/0.5319, allocations: 33.11 kB / 0.821 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.5319, allocations: 12.31 kB / 0.821 GB, free: 0 / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.667e-05/0.532, allocations: 46.89 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.5322, allocations: 162.4 kB / 0.8212 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5322, allocations: 0 / 0.8212 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5322, allocations: 0 / 0.8212 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.5322, allocations: 0.7031 kB / 0.8212 GB, free: 15.92 MB / 0.6198 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.0004258/0.5327, allocations: 357.7 kB / 0.8215 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.5327, allocations: 10.31 kB / 0.8215 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.5328, allocations: 12.06 kB / 0.8215 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.194e-05/0.5328, allocations: 112.3 kB / 0.8216 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.5329, allocations: 14.98 kB / 0.8217 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.5329, allocations: 7.453 kB / 0.8217 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.574e-05/0.533, allocations: 49.61 kB / 0.8217 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.533, allocations: 4.734 kB / 0.8217 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.533, allocations: 5.969 kB / 0.8217 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.533, allocations: 0.6562 kB / 0.8217 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.435e-05/0.533, allocations: 17.06 kB / 0.8217 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.5334, allocations: 269.9 kB / 0.822 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.76e-05/0.5335, allocations: 34.53 kB / 0.822 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.355e-05/0.5335, allocations: 18.61 kB / 0.8221 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.5335, allocations: 9.078 kB / 0.8221 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.5337, allocations: 82.89 kB / 0.8221 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.5337, allocations: 0 / 0.8221 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002179/0.5339, allocations: 104.3 kB / 0.8222 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.5339, allocations: 62.81 kB / 0.8223 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.296e-05/0.534, allocations: 116.2 kB / 0.8224 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.534, allocations: 29.39 kB / 0.8224 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.5341, allocations: 95.42 kB / 0.8225 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.5341, allocations: 18.16 kB / 0.8225 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.5342, allocations: 54.75 kB / 0.8226 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003656/0.5345, allocations: 314.8 kB / 0.8229 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.5347, allocations: 120.1 kB / 0.823 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.5348, allocations: 157.5 kB / 0.8232 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.5349, allocations: 164 kB / 0.8233 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5349, allocations: 0 / 0.8233 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003318/0.5353, allocations: 324.9 kB / 0.8236 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.647e-05/0.5353, allocations: 72.81 kB / 0.8237 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5353, allocations: 1.156 kB / 0.8237 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.5353, allocations: 2.031 kB / 0.8237 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.379e-05/0.5353, allocations: 7.328 kB / 0.8237 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.5354, allocations: 1.281 kB / 0.8237 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.5356, allocations: 60.7 kB / 0.8238 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.5356, allocations: 11.28 kB / 0.8238 GB, free: 13.67 MB / 0.6198 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 8.588e-05/0.5357, allocations: 130.5 kB / 0.8239 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.5357, allocations: 6.984 kB / 0.8239 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.5357, allocations: 10.14 kB / 0.8239 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5357, allocations: 5.906 kB / 0.8239 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.5357, allocations: 0 / 0.8239 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5357, allocations: 1.672 kB / 0.8239 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.434e-05/0.5358, allocations: 119.8 kB / 0.824 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5358, allocations: 3.516 kB / 0.824 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-06/0.5358, allocations: 6.125 kB / 0.824 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.5358, allocations: 0 / 0.824 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.5358, allocations: 5.281 kB / 0.8241 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5358, allocations: 1.5 kB / 0.8241 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5358, allocations: 0 / 0.8241 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.536, allocations: 122.6 kB / 0.8242 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-06/0.536, allocations: 2.344 kB / 0.8242 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.536, allocations: 5.156 kB / 0.8242 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.426e-05/0.536, allocations: 5.031 kB / 0.8242 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.536, allocations: 9.375 kB / 0.8242 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.536, allocations: 3.688 kB / 0.8242 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.689e-05/0.5361, allocations: 88.94 kB / 0.8243 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5361, allocations: 5.344 kB / 0.8243 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001657/0.5362, allocations: 33.47 kB / 0.8243 GB, free: 13.2 MB / 0.6198 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.0001204/0.5364, allocations: 103 kB / 0.8244 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002789/0.5366, allocations: 276.4 kB / 0.8247 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5366, allocations: 0 / 0.8247 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.922e-05/0.5367, allocations: 25.02 kB / 0.8247 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.5369, allocations: 31.06 kB / 0.8247 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.5372, allocations: 178.7 kB / 0.8249 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.096e-05/0.5372, allocations: 74.77 kB / 0.825 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/0.5373, allocations: 10.69 kB / 0.825 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of SimCode: time 9.02e-07/0.5373, allocations: 0 / 0.825 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.003082/0.5403, allocations: 1.386 MB / 0.8263 GB, free: 12.48 MB / 0.6198 GB " [Timeout remaining time 659] 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.763662832789123] Failed to read output from testmodel.py, exit status != 0: 0.5478685488924384 0.557029009 0.022755360000000002 Calling exit ...