Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.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.001961/0.001961, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.0023/0.0023, allocations: 213.6 kB / 22.25 MB, free: 5.258 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.812 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.313/1.313, allocations: 203.8 MB / 0.5041 GB, free: 4.637 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.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand") [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.002438/0.002438, allocations: 75.89 kB / 0.7187 GB, free: 1.98 MB / 0.5763 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5753/0.5777, allocations: 102 MB / 0.8183 GB, free: 28.95 MB / 0.6388 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001811/0.5796, allocations: 0.635 MB / 0.8189 GB, free: 28.57 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.5809, allocations: 1.206 MB / 0.8201 GB, free: 27.71 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.581, allocations: 2.062 kB / 0.8201 GB, free: 27.71 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.581, allocations: 3.938 kB / 0.8201 GB, free: 27.7 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 6.526e-05/0.5811, allocations: 15.2 kB / 0.8201 GB, free: 27.7 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006114/0.5817, allocations: 214.5 kB / 0.8203 GB, free: 27.59 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.5819, allocations: 177.1 kB / 0.8205 GB, free: 27.52 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 8.259e-05/0.582, allocations: 5.438 kB / 0.8205 GB, free: 27.52 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.5821, allocations: 70.89 kB / 0.8205 GB, free: 27.49 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.5822, allocations: 52.58 kB / 0.8206 GB, free: 27.48 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.5823, allocations: 15.19 kB / 0.8206 GB, free: 27.48 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 9.527e-05/0.5824, allocations: 27.81 kB / 0.8206 GB, free: 27.48 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/0.5824, allocations: 14.73 kB / 0.8206 GB, free: 27.47 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 8.298e-05/0.5825, allocations: 51.59 kB / 0.8207 GB, free: 27.45 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.5827, allocations: 154.4 kB / 0.8208 GB, free: 27.39 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5827, allocations: 1.797 kB / 0.8208 GB, free: 27.39 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5827, allocations: 1.375 kB / 0.8208 GB, free: 27.39 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.5828, allocations: 0 / 0.8208 GB, free: 27.39 MB / 0.6388 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.0004698/0.5832, allocations: 358.6 kB / 0.8212 GB, free: 27.05 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.5833, allocations: 11.25 kB / 0.8212 GB, free: 27.05 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.5833, allocations: 12.31 kB / 0.8212 GB, free: 27.05 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.959e-05/0.5834, allocations: 115.9 kB / 0.8213 GB, free: 26.91 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.5834, allocations: 10.44 kB / 0.8213 GB, free: 26.91 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.5835, allocations: 9.016 kB / 0.8213 GB, free: 26.91 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.5836, allocations: 55.59 kB / 0.8214 GB, free: 26.87 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.5836, allocations: 192 / 0.8214 GB, free: 26.87 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.5836, allocations: 5.375 kB / 0.8214 GB, free: 26.86 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5836, allocations: 1.344 kB / 0.8214 GB, free: 26.86 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.523e-05/0.5836, allocations: 18.38 kB / 0.8214 GB, free: 26.86 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.5841, allocations: 270.2 kB / 0.8217 GB, free: 26.62 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 8.396e-05/0.5841, allocations: 31.36 kB / 0.8217 GB, free: 26.6 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/0.5842, allocations: 22.58 kB / 0.8217 GB, free: 26.58 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.5842, allocations: 1.891 kB / 0.8217 GB, free: 26.58 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.5844, allocations: 86.41 kB / 0.8218 GB, free: 26.52 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.5844, allocations: 1.531 kB / 0.8218 GB, free: 26.52 MB / 0.6388 GB Notification: Performance of matching and sorting (n=7): time 0.0003116/0.5847, allocations: 100.8 kB / 0.8219 GB, free: 26.46 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.5847, allocations: 53.67 kB / 0.822 GB, free: 26.4 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.377e-05/0.5848, allocations: 116.9 kB / 0.8221 GB, free: 26.3 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.5848, allocations: 34.52 kB / 0.8221 GB, free: 26.26 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.5849, allocations: 94.41 kB / 0.8222 GB, free: 26.17 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.5849, allocations: 19.78 kB / 0.8222 GB, free: 26.16 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.585, allocations: 49.17 kB / 0.8223 GB, free: 26.13 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 4.676e-05/0.585, allocations: 320.1 kB / 0.8226 GB, free: 25.82 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.5852, allocations: 121.2 kB / 0.8227 GB, free: 25.73 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.5854, allocations: 154.2 kB / 0.8228 GB, free: 25.61 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.5855, allocations: 167.8 kB / 0.823 GB, free: 25.46 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5855, allocations: 0 / 0.823 GB, free: 25.46 MB / 0.6388 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004496/0.586, allocations: 329 kB / 0.8233 GB, free: 25.24 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/0.586, allocations: 67.27 kB / 0.8234 GB, free: 25.18 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.586, allocations: 1.531 kB / 0.8234 GB, free: 25.18 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.5861, allocations: 4.75 kB / 0.8234 GB, free: 25.18 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.175e-05/0.5861, allocations: 6.625 kB / 0.8234 GB, free: 25.17 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.5861, allocations: 2.375 kB / 0.8234 GB, free: 25.17 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.5864, allocations: 59.27 kB / 0.8234 GB, free: 25.16 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.5865, allocations: 16 kB / 0.8234 GB, free: 25.16 MB / 0.6388 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,nand1.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.023e-05/0.5866, allocations: 129.7 kB / 0.8236 GB, free: 25.04 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.5866, allocations: 6.391 kB / 0.8236 GB, free: 25.03 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.5866, allocations: 6.516 kB / 0.8236 GB, free: 25.03 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5866, allocations: 1.312 kB / 0.8236 GB, free: 25.03 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5866, allocations: 0.75 kB / 0.8236 GB, free: 25.03 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5866, allocations: 2.172 kB / 0.8236 GB, free: 25.03 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.78e-05/0.5867, allocations: 124.6 kB / 0.8237 GB, free: 24.89 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.5867, allocations: 0 / 0.8237 GB, free: 24.89 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.078e-05/0.5867, allocations: 5.734 kB / 0.8237 GB, free: 24.89 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5867, allocations: 1.734 kB / 0.8237 GB, free: 24.89 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.5867, allocations: 5.609 kB / 0.8237 GB, free: 24.88 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5867, allocations: 4.062 kB / 0.8237 GB, free: 24.88 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5867, allocations: 1.984 kB / 0.8237 GB, free: 24.88 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.5868, allocations: 116.4 kB / 0.8238 GB, free: 24.79 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.5869, allocations: 3.062 kB / 0.8238 GB, free: 24.79 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.5869, allocations: 6.219 kB / 0.8238 GB, free: 24.79 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.128e-05/0.5869, allocations: 0.7031 kB / 0.8238 GB, free: 24.79 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.5869, allocations: 11.22 kB / 0.8239 GB, free: 24.78 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.587, allocations: 2.5 kB / 0.8239 GB, free: 24.78 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.587, allocations: 90.2 kB / 0.8239 GB, free: 24.7 MB / 0.6388 GB Notification: Performance of sort global known variables: time 7e-08/0.587, allocations: 288 / 0.8239 GB, free: 24.7 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.0002544/0.5872, allocations: 31.95 kB / 0.824 GB, free: 24.7 MB / 0.6388 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,nand1.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.0001282/0.5874, allocations: 104.4 kB / 0.8241 GB, free: 24.61 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.0003583/0.5877, allocations: 284.3 kB / 0.8243 GB, free: 24.37 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5877, allocations: 0 / 0.8243 GB, free: 24.37 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 5.046e-05/0.5878, allocations: 31.31 kB / 0.8244 GB, free: 24.36 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.588, allocations: 12.83 kB / 0.8244 GB, free: 24.36 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.5884, allocations: 159 kB / 0.8245 GB, free: 24.21 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.993e-05/0.5884, allocations: 70.55 kB / 0.8246 GB, free: 24.14 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 2.935e-05/0.5885, allocations: 9.016 kB / 0.8246 GB, free: 24.14 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.5885, allocations: 11.89 kB / 0.8246 GB, free: 24.13 MB / 0.6388 GB Notification: Performance of SimCode: time 3.01e-07/0.5885, allocations: 4 kB / 0.8246 GB, free: 24.13 MB / 0.6388 GB Notification: Performance of Templates: time 0.005738/0.5942, allocations: 2.088 MB / 0.8267 GB, free: 23.88 MB / 0.6388 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.7765798680484295] Failed to read output from testmodel.py, exit status != 0: 0.6022965181618929 0.616525101 0.030959599 Calling exit ...