Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.00135/0.00135, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.0015/0.0015, allocations: 214.3 kB / 22.25 MB, free: 5.125 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.275/1.275, allocations: 203.8 MB / 0.5041 GB, free: 4.926 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_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_dev_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.002106/0.002106, allocations: 67.89 kB / 0.7187 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6475/0.6496, allocations: 102 MB / 0.8183 GB, free: 29.22 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00192/0.6516, allocations: 0.6452 MB / 0.819 GB, free: 28.84 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.6532, allocations: 1.225 MB / 0.8202 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.759e-05/0.6532, allocations: 1.125 kB / 0.8202 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.6533, allocations: 0.7031 kB / 0.8202 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.992e-05/0.6533, allocations: 15.95 kB / 0.8202 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.654, allocations: 228.2 kB / 0.8204 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.6542, allocations: 166.2 kB / 0.8206 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 9.603e-05/0.6543, allocations: 9.297 kB / 0.8206 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.6545, allocations: 75.47 kB / 0.8206 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.6546, allocations: 64.83 kB / 0.8207 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.6547, allocations: 14.16 kB / 0.8207 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.858e-05/0.6547, allocations: 29.33 kB / 0.8207 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.6548, allocations: 9.188 kB / 0.8207 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.6549, allocations: 61.81 kB / 0.8208 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.6551, allocations: 146 kB / 0.8209 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.6551, allocations: 0 / 0.8209 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6551, allocations: 1.281 kB / 0.8209 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.6551, allocations: 0.8438 kB / 0.8209 GB, free: 27.61 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.0004885/0.6556, allocations: 361.4 kB / 0.8213 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.6557, allocations: 12.02 kB / 0.8213 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.6557, allocations: 13.11 kB / 0.8213 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.819e-05/0.6558, allocations: 115.1 kB / 0.8214 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.6559, allocations: 10.5 kB / 0.8214 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.6559, allocations: 9.375 kB / 0.8214 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.656, allocations: 54.97 kB / 0.8215 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.656, allocations: 1.031 kB / 0.8215 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.656, allocations: 4.641 kB / 0.8215 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.656, allocations: 4.734 kB / 0.8215 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.261e-05/0.6561, allocations: 14.59 kB / 0.8215 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.6566, allocations: 322.8 kB / 0.8218 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.28e-05/0.6566, allocations: 38.02 kB / 0.8219 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.6567, allocations: 19.88 kB / 0.8219 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.6567, allocations: 1.781 kB / 0.8219 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.6569, allocations: 78.66 kB / 0.822 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.6569, allocations: 0 / 0.822 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0003135/0.6572, allocations: 108.7 kB / 0.8221 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.6572, allocations: 54.14 kB / 0.8221 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.443e-05/0.6573, allocations: 120.8 kB / 0.8222 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.6574, allocations: 34.52 kB / 0.8223 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.6574, allocations: 90.41 kB / 0.8224 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.6574, allocations: 17.19 kB / 0.8224 GB, free: 26.33 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.6576, allocations: 48.02 kB / 0.8224 GB, free: 26.31 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.895e-05/0.6576, allocations: 326.5 kB / 0.8227 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.6578, allocations: 60.36 kB / 0.8228 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.6579, allocations: 89.5 kB / 0.8229 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.6581, allocations: 160.6 kB / 0.823 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6581, allocations: 0.5938 kB / 0.823 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004177/0.6585, allocations: 260.9 kB / 0.8233 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.6586, allocations: 71.22 kB / 0.8233 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6586, allocations: 5.156 kB / 0.8233 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.6586, allocations: 1.344 kB / 0.8233 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.84e-05/0.6586, allocations: 7.844 kB / 0.8234 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.6586, allocations: 5.5 kB / 0.8234 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/0.659, allocations: 61.2 kB / 0.8234 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.659, allocations: 11.55 kB / 0.8234 GB, free: 25.54 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.868e-05/0.6591, allocations: 135.4 kB / 0.8236 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.6591, allocations: 7.406 kB / 0.8236 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.6591, allocations: 10.75 kB / 0.8236 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.6592, allocations: 0 / 0.8236 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.6592, allocations: 7.875 kB / 0.8236 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-06/0.6592, allocations: 2.344 kB / 0.8236 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.913e-05/0.6593, allocations: 153 kB / 0.8237 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6593, allocations: 1.125 kB / 0.8237 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.608e-06/0.6593, allocations: 1.828 kB / 0.8237 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.6593, allocations: 0 / 0.8237 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.6593, allocations: 6.203 kB / 0.8237 GB, free: 25.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6593, allocations: 1.281 kB / 0.8237 GB, free: 25.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6593, allocations: 0.6562 kB / 0.8237 GB, free: 25.22 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.6594, allocations: 111.5 kB / 0.8238 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.024e-05/0.6594, allocations: 7.188 kB / 0.8239 GB, free: 25.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.6595, allocations: 5.75 kB / 0.8239 GB, free: 25.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.165e-05/0.6595, allocations: 1.906 kB / 0.8239 GB, free: 25.13 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.6595, allocations: 4.891 kB / 0.8239 GB, free: 25.13 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.6595, allocations: 3.672 kB / 0.8239 GB, free: 25.13 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.334e-05/0.6596, allocations: 90.67 kB / 0.824 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5e-08/0.6596, allocations: 0 / 0.824 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002437/0.6598, allocations: 30.45 kB / 0.824 GB, free: 25.05 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.000132/0.6599, allocations: 105.6 kB / 0.8241 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003129/0.6602, allocations: 226.8 kB / 0.8243 GB, free: 24.78 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6602, allocations: 1.656 kB / 0.8243 GB, free: 24.78 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.825e-05/0.6603, allocations: 23.8 kB / 0.8243 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.6605, allocations: 13.78 kB / 0.8243 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.6609, allocations: 161.2 kB / 0.8245 GB, free: 24.63 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.6611, allocations: 0.685 MB / 0.8252 GB, free: 23.93 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.065e-05/0.6611, allocations: 9.625 kB / 0.8252 GB, free: 23.93 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.6612, allocations: 11.09 kB / 0.8252 GB, free: 23.92 MB / 0.6387 GB Notification: Performance of SimCode: time 3.2e-07/0.6612, allocations: 1.062 kB / 0.8252 GB, free: 23.92 MB / 0.6387 GB Notification: Performance of Templates: time 0.006041/0.6672, allocations: 1.869 MB / 0.827 GB, free: 23.75 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.890343714505434] Failed to read output from testmodel.py, exit status != 0: 0.6754308436065912 0.6886385300000001 0.030503363000000002 Calling exit ...