Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.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.001628/0.001628, 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.001738/0.001738, allocations: 211.9 kB / 22.25 MB, free: 4.863 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.789 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.317/1.317, allocations: 203.5 MB / 0.5038 GB, free: 4.906 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.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") [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.002189/0.002189, allocations: 71.83 kB / 0.7183 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6288/0.631, allocations: 102 MB / 0.8179 GB, free: 29.09 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002069/0.633, allocations: 0.6303 MB / 0.8185 GB, free: 28.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001818/0.6349, allocations: 1.207 MB / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.299e-05/0.6349, allocations: 0.625 kB / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.635, allocations: 5.281 kB / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.878e-05/0.635, allocations: 12.36 kB / 0.8197 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000768/0.6358, allocations: 216.6 kB / 0.8199 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.6361, allocations: 175 kB / 0.82 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.6362, allocations: 13.34 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.6363, allocations: 68.83 kB / 0.8201 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.6364, allocations: 52.31 kB / 0.8202 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.691e-05/0.6365, allocations: 16.81 kB / 0.8202 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.064e-05/0.6366, allocations: 27 kB / 0.8202 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.686e-05/0.6366, allocations: 9.484 kB / 0.8202 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 9.616e-05/0.6367, allocations: 57.27 kB / 0.8203 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.6369, allocations: 151.6 kB / 0.8204 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6369, allocations: 0 / 0.8204 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.252e-06/0.637, allocations: 0 / 0.8204 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.637, allocations: 0.8125 kB / 0.8204 GB, free: 27.54 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005373/0.6375, allocations: 358.3 kB / 0.8208 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.6375, allocations: 10.69 kB / 0.8208 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.869e-05/0.6376, allocations: 12.89 kB / 0.8208 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.313e-05/0.6377, allocations: 115.6 kB / 0.8209 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.6377, allocations: 8.562 kB / 0.8209 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.6378, allocations: 14.52 kB / 0.8209 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.6379, allocations: 47.77 kB / 0.821 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.6379, allocations: 192 / 0.821 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.6379, allocations: 5.922 kB / 0.821 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.6379, allocations: 0 / 0.821 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.672e-05/0.638, allocations: 18.5 kB / 0.821 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.6384, allocations: 275 kB / 0.8213 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.571e-05/0.6385, allocations: 28.98 kB / 0.8213 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.6385, allocations: 24.41 kB / 0.8213 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.6385, allocations: 1.812 kB / 0.8213 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.6388, allocations: 82.98 kB / 0.8214 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.6388, allocations: 0 / 0.8214 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0002927/0.6391, allocations: 110.3 kB / 0.8215 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.6391, allocations: 58.16 kB / 0.8215 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.417e-05/0.6392, allocations: 119.3 kB / 0.8217 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.6392, allocations: 32.25 kB / 0.8217 GB, free: 26.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.6393, allocations: 93.94 kB / 0.8218 GB, free: 26.31 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.6393, allocations: 12.67 kB / 0.8218 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.6394, allocations: 53.38 kB / 0.8218 GB, free: 26.28 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.02e-05/0.6395, allocations: 314.4 kB / 0.8221 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.6397, allocations: 120.9 kB / 0.8223 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.6399, allocations: 160.3 kB / 0.8224 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.6401, allocations: 159.8 kB / 0.8226 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6401, allocations: 0.5312 kB / 0.8226 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004849/0.6406, allocations: 327.1 kB / 0.8229 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.271e-05/0.6406, allocations: 70.64 kB / 0.8229 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.6406, allocations: 1.312 kB / 0.8229 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.6407, allocations: 3.312 kB / 0.8229 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.23e-05/0.6407, allocations: 2.031 kB / 0.823 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.6407, allocations: 2.719 kB / 0.823 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.6411, allocations: 60.41 kB / 0.823 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.6411, allocations: 10.59 kB / 0.823 GB, free: 25.31 MB / 0.6387 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,nor1.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.6e-05/0.6412, allocations: 133.1 kB / 0.8231 GB, free: 25.19 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.6412, allocations: 7.406 kB / 0.8232 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.6413, allocations: 10.41 kB / 0.8232 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.6413, allocations: 1.75 kB / 0.8232 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.6413, allocations: 0.7031 kB / 0.8232 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6413, allocations: 3.938 kB / 0.8232 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.6414, allocations: 120.8 kB / 0.8233 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6414, allocations: 3.812 kB / 0.8233 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.048e-05/0.6414, allocations: 5.734 kB / 0.8233 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.6414, allocations: 1.562 kB / 0.8233 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.6414, allocations: 2.203 kB / 0.8233 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6414, allocations: 0.7031 kB / 0.8233 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6414, allocations: 0 / 0.8233 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.6415, allocations: 122.4 kB / 0.8234 GB, free: 24.94 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.6416, allocations: 6.234 kB / 0.8234 GB, free: 24.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.6416, allocations: 1.922 kB / 0.8234 GB, free: 24.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.154e-05/0.6416, allocations: 2.125 kB / 0.8234 GB, free: 24.94 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.6416, allocations: 12.02 kB / 0.8234 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.6416, allocations: 7.672 kB / 0.8234 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.496e-05/0.6417, allocations: 89.55 kB / 0.8235 GB, free: 24.85 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6417, allocations: 0 / 0.8235 GB, free: 24.85 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002448/0.6419, allocations: 27.78 kB / 0.8236 GB, free: 24.85 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.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.0001322/0.6421, allocations: 112.7 kB / 0.8237 GB, free: 24.75 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003403/0.6424, allocations: 275.6 kB / 0.8239 GB, free: 24.53 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6424, allocations: 1.531 kB / 0.8239 GB, free: 24.53 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.709e-05/0.6425, allocations: 23.89 kB / 0.824 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.6427, allocations: 25.52 kB / 0.824 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.6431, allocations: 156.2 kB / 0.8241 GB, free: 24.38 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.898e-05/0.6431, allocations: 73.22 kB / 0.8242 GB, free: 24.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.952e-05/0.6432, allocations: 9.266 kB / 0.8242 GB, free: 24.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.6432, allocations: 10.84 kB / 0.8242 GB, free: 24.29 MB / 0.6387 GB Notification: Performance of SimCode: time 3.21e-07/0.6432, allocations: 288 / 0.8242 GB, free: 24.29 MB / 0.6387 GB Notification: Performance of Templates: time 0.006072/0.6492, allocations: 2.083 MB / 0.8262 GB, free: 24.04 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9667451195418835] Failed to read output from testmodel.py, exit status != 0: 0.6578133869916201 0.6716276840000001 0.031612263 Calling exit ...