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.001519/0.001519, 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.002251/0.002251, allocations: 214.5 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.584/1.584, 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 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.293/1.293, allocations: 203.8 MB / 0.5041 GB, free: 4.633 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.002139/0.002139, allocations: 64.19 kB / 0.7186 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6658/0.668, allocations: 102 MB / 0.8183 GB, free: 29.1 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001994/0.67, allocations: 0.6288 MB / 0.8189 GB, free: 28.74 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.6716, allocations: 1.21 MB / 0.8201 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.6716, allocations: 1.25 kB / 0.8201 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/0.6716, allocations: 4.922 kB / 0.8201 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.96e-05/0.6717, allocations: 15.69 kB / 0.8201 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006784/0.6724, allocations: 216.5 kB / 0.8203 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.6726, allocations: 170.2 kB / 0.8205 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 9.781e-05/0.6727, allocations: 6.547 kB / 0.8205 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.6729, allocations: 69.22 kB / 0.8205 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.673, allocations: 53.45 kB / 0.8206 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.575e-05/0.6731, allocations: 15.56 kB / 0.8206 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.928e-05/0.6732, allocations: 25.44 kB / 0.8206 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.932e-05/0.6732, allocations: 21.64 kB / 0.8206 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 9.643e-05/0.6733, allocations: 51.2 kB / 0.8207 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.6736, allocations: 158 kB / 0.8208 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.6736, allocations: 1.438 kB / 0.8208 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6736, allocations: 0.5625 kB / 0.8208 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.6736, allocations: 0 / 0.8208 GB, free: 27.55 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.0005567/0.6742, allocations: 359.9 kB / 0.8212 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.6742, allocations: 10.84 kB / 0.8212 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.108e-05/0.6743, allocations: 12.73 kB / 0.8212 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.976e-05/0.6744, allocations: 112.9 kB / 0.8213 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.6744, allocations: 9.188 kB / 0.8213 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.6744, allocations: 9.719 kB / 0.8213 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.6746, allocations: 50.33 kB / 0.8214 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.6746, allocations: 3.375 kB / 0.8214 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.6746, allocations: 8.484 kB / 0.8214 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.6746, allocations: 1 kB / 0.8214 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.196e-05/0.6746, allocations: 12.94 kB / 0.8214 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.6751, allocations: 270.5 kB / 0.8217 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.619e-05/0.6752, allocations: 30.28 kB / 0.8217 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.9e-05/0.6752, allocations: 23.97 kB / 0.8217 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.6753, allocations: 9.625 kB / 0.8217 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.6755, allocations: 82.52 kB / 0.8218 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.6755, allocations: 0 / 0.8218 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0003386/0.6758, allocations: 106.3 kB / 0.8219 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.6758, allocations: 53.94 kB / 0.822 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.6759, allocations: 120.1 kB / 0.8221 GB, free: 26.44 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.676, allocations: 36.55 kB / 0.8221 GB, free: 26.41 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.676, allocations: 90.56 kB / 0.8222 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.6761, allocations: 19.28 kB / 0.8222 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.6762, allocations: 49.09 kB / 0.8223 GB, free: 26.28 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.617e-05/0.6763, allocations: 319.3 kB / 0.8226 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.6765, allocations: 121.3 kB / 0.8227 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.6766, allocations: 158.3 kB / 0.8228 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.6768, allocations: 163.4 kB / 0.823 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6768, allocations: 0 / 0.823 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004735/0.6773, allocations: 325.5 kB / 0.8233 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.6774, allocations: 70.2 kB / 0.8234 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.6774, allocations: 1.125 kB / 0.8234 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.6774, allocations: 2.531 kB / 0.8234 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.536e-05/0.6774, allocations: 7.672 kB / 0.8234 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.6774, allocations: 1.984 kB / 0.8234 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.6778, allocations: 60.5 kB / 0.8234 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.6778, allocations: 15.27 kB / 0.8234 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.602e-05/0.6779, allocations: 125.7 kB / 0.8236 GB, free: 25.19 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.6779, allocations: 7.422 kB / 0.8236 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.6779, allocations: 6.812 kB / 0.8236 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.6779, allocations: 1.062 kB / 0.8236 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.678, allocations: 0 / 0.8236 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.678, allocations: 2.422 kB / 0.8236 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.356e-05/0.678, allocations: 119.9 kB / 0.8237 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.678, allocations: 3.469 kB / 0.8237 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.095e-05/0.6781, allocations: 6 kB / 0.8237 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.6781, allocations: 6 kB / 0.8237 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.6781, allocations: 5.266 kB / 0.8237 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.6781, allocations: 1.688 kB / 0.8237 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6781, allocations: 0 / 0.8237 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.6782, allocations: 112.3 kB / 0.8238 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.6782, allocations: 7.047 kB / 0.8238 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.6782, allocations: 5.984 kB / 0.8238 GB, free: 24.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.218e-05/0.6783, allocations: 6.172 kB / 0.8238 GB, free: 24.94 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.6783, allocations: 5.969 kB / 0.8238 GB, free: 24.94 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.6783, allocations: 7.594 kB / 0.8239 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.649e-05/0.6784, allocations: 85.75 kB / 0.8239 GB, free: 24.86 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6784, allocations: 0 / 0.8239 GB, free: 24.86 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000253/0.6786, allocations: 32.08 kB / 0.824 GB, free: 24.86 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.0001344/0.6787, allocations: 104.1 kB / 0.8241 GB, free: 24.76 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003398/0.6791, allocations: 281.5 kB / 0.8243 GB, free: 24.53 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.6791, allocations: 256 / 0.8243 GB, free: 24.53 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.427e-05/0.6791, allocations: 24.22 kB / 0.8244 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.000239/0.6794, allocations: 23.77 kB / 0.8244 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.6797, allocations: 156.4 kB / 0.8245 GB, free: 24.38 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.51e-05/0.6797, allocations: 73.58 kB / 0.8246 GB, free: 24.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.678e-05/0.6798, allocations: 9.016 kB / 0.8246 GB, free: 24.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.6798, allocations: 16.86 kB / 0.8246 GB, free: 24.29 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.6798, allocations: 0 / 0.8246 GB, free: 24.29 MB / 0.6387 GB Notification: Performance of Templates: time 0.005793/0.6856, allocations: 2.086 MB / 0.8267 GB, free: 24.04 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.938579872250557] Failed to read output from testmodel.py, exit status != 0: 0.694183710962534 0.70923433 0.032242315 Calling exit ...