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.001418/0.001418, allocations: 80.06 kB / 19.18 MB, free: 2.516 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.001451/0.001451, allocations: 161.8 kB / 22.46 MB, free: 5.375 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.535/1.535, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.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.183/1.183, allocations: 154.5 MB / 413.7 MB, free: 5.312 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 0.6185 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.627e-05/3.864e-05, allocations: 9.109 kB / 0.6185 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002399/0.002438, allocations: 0.6289 MB / 0.6192 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00255/0.004988, allocations: 1.205 MB / 0.6203 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.175e-05/0.00506, allocations: 0 / 0.6203 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.66e-05/0.005096, allocations: 3.938 kB / 0.6203 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.005202, allocations: 19.91 kB / 0.6203 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000837/0.006039, allocations: 211.9 kB / 0.6206 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003566/0.006396, allocations: 175.6 kB / 0.6207 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.006513, allocations: 11.98 kB / 0.6207 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.006729, allocations: 91.92 kB / 0.6208 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.006941, allocations: 51.86 kB / 0.6209 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.971e-05/0.007001, allocations: 16 kB / 0.6209 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.007129, allocations: 35.91 kB / 0.6209 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.007157, allocations: 8 kB / 0.6209 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.00728, allocations: 55.88 kB / 0.621 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.007659, allocations: 179.6 kB / 0.6211 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.007662, allocations: 0 / 0.6211 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.72e-07/0.007663, allocations: 0 / 0.6211 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.007667, allocations: 0 / 0.6211 GB, free: 1.98 MB / 0.5294 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.000743/0.00841, allocations: 365.5 kB / 0.6215 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.008466, allocations: 9.469 kB / 0.6215 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.028e-05/0.008556, allocations: 12.89 kB / 0.6215 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.008714, allocations: 109.7 kB / 0.6216 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.008739, allocations: 12.38 kB / 0.6216 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.107e-05/0.00879, allocations: 16.34 kB / 0.6217 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.008932, allocations: 46.25 kB / 0.6217 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.008943, allocations: 4.125 kB / 0.6217 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.008955, allocations: 4.375 kB / 0.6217 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.008961, allocations: 384 / 0.6217 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.881e-05/0.00901, allocations: 19.92 kB / 0.6217 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005696/0.009579, allocations: 264.5 kB / 0.622 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.009698, allocations: 38.58 kB / 0.622 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.394e-05/0.009772, allocations: 20.81 kB / 0.622 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.009785, allocations: 4 kB / 0.622 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.01003, allocations: 83.3 kB / 0.6221 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.01003, allocations: 4 kB / 0.6221 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0003247/0.01036, allocations: 105.6 kB / 0.6222 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.01044, allocations: 59.34 kB / 0.6223 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.01059, allocations: 117.8 kB / 0.6224 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.01064, allocations: 29.7 kB / 0.6224 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.01075, allocations: 92.09 kB / 0.6225 GB, free: 436 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.01078, allocations: 23.83 kB / 0.6225 GB, free: 412 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.01093, allocations: 49.69 kB / 0.6226 GB, free: 356 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.01112, allocations: 314.8 kB / 0.6229 GB, free: 32 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.01141, allocations: 127.4 kB / 0.623 GB, free: 15.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.01162, allocations: 151.7 kB / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.01193, allocations: 159.6 kB / 0.6233 GB, free: 15.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01194, allocations: 0 / 0.6233 GB, free: 15.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007733/0.01271, allocations: 320.7 kB / 0.6236 GB, free: 15.19 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-05/0.0128, allocations: 77.86 kB / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.01281, allocations: 0 / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.01283, allocations: 0 / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.899e-05/0.01287, allocations: 11.88 kB / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.01288, allocations: 0 / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/0.01328, allocations: 59.83 kB / 0.6237 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.825e-05/0.01334, allocations: 15.98 kB / 0.6238 GB, free: 15.02 MB / 0.545 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 0.0001769/0.01351, allocations: 125.4 kB / 0.6239 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.01354, allocations: 11.88 kB / 0.6239 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/0.01358, allocations: 12.44 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01358, allocations: 0 / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.01359, allocations: 0 / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.01359, allocations: 0 / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.01377, allocations: 117.3 kB / 0.624 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.01377, allocations: 4.062 kB / 0.624 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.589e-05/0.01379, allocations: 7.922 kB / 0.624 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.0138, allocations: 3.938 kB / 0.624 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.01381, allocations: 8 kB / 0.624 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01381, allocations: 0 / 0.624 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01381, allocations: 0 / 0.624 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.01405, allocations: 113 kB / 0.6241 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.01406, allocations: 4 kB / 0.6241 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.01409, allocations: 3.938 kB / 0.6242 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.828e-05/0.01412, allocations: 0 / 0.6242 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.01417, allocations: 11.98 kB / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.01418, allocations: 4 kB / 0.6242 GB, free: 14.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.021e-05/0.01425, allocations: 91.27 kB / 0.6243 GB, free: 14.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.01425, allocations: 3.938 kB / 0.6243 GB, free: 14.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003618/0.01461, allocations: 31.94 kB / 0.6243 GB, free: 14.42 MB / 0.545 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.0002096/0.01482, allocations: 103.2 kB / 0.6244 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000544/0.01536, allocations: 274.1 kB / 0.6246 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01537, allocations: 0 / 0.6246 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.884e-05/0.01543, allocations: 23.98 kB / 0.6247 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.0158, allocations: 23.7 kB / 0.6247 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004887/0.01629, allocations: 161.7 kB / 0.6248 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.442e-05/0.01638, allocations: 71.28 kB / 0.6249 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.414e-05/0.01642, allocations: 7.984 kB / 0.6249 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.01645, allocations: 12.5 kB / 0.6249 GB, free: 13.66 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.01645, allocations: 0 / 0.6249 GB, free: 13.66 MB / 0.545 GB Notification: Performance of Templates: time 0.007355/0.0238, allocations: 2.029 MB / 0.6269 GB, free: 11.69 MB / 0.545 GB " [Timeout remaining time 660] 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: 5.868254072964191] Failed to read output from testmodel.py, exit status != 0: 0.034987106919288635 0.049630359000000006 0.038752005 Calling exit ...