Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.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.0007804/0.0007804, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007473/0.0007473, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.88/0.88, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6714/0.6714, allocations: 154.5 MB / 414.5 MB, free: 0.8359 MB / 378.7 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 179] 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.Not,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.865e-05, allocations: 2.812 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Not): time 0.0009861/0.001005, allocations: 0.5994 MB / 0.6199 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009541/0.001959, allocations: 1.135 MB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.001992, allocations: 0 / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.002018, allocations: 3.938 kB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.531e-05/0.002074, allocations: 4 kB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.002405, allocations: 122.8 kB / 0.6211 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.002527, allocations: 91.81 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.232e-05/0.002599, allocations: 4 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.816e-05/0.002667, allocations: 47.97 kB / 0.6212 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.002739, allocations: 35.88 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.002758, allocations: 8 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.482e-05/0.002803, allocations: 15.98 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.002818, allocations: 0 / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.002855, allocations: 27.98 kB / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.002979, allocations: 99.69 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.00298, allocations: 4 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.01e-07/0.002981, allocations: 0 / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.347e-06/0.002984, allocations: 0 / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003199/0.003304, allocations: 288.1 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.003334, allocations: 17.47 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.00337, allocations: 8.891 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.984e-05/0.00344, allocations: 113.6 kB / 0.6218 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.003452, allocations: 8.375 kB / 0.6218 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.003466, allocations: 8.359 kB / 0.6218 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.736e-05/0.003534, allocations: 34.27 kB / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.00354, allocations: 192 / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.003549, allocations: 8.359 kB / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.003553, allocations: 384 / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.751e-05/0.003581, allocations: 7.938 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002359/0.003817, allocations: 228.5 kB / 0.6221 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.303e-05/0.00385, allocations: 18.58 kB / 0.6221 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.385e-05/0.003864, allocations: 16.91 kB / 0.6221 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.942e-06/0.003869, allocations: 0 / 0.6221 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.393e-05/0.003953, allocations: 63.3 kB / 0.6222 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 6.22e-07/0.003954, allocations: 0 / 0.6222 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001372/0.004091, allocations: 61.61 kB / 0.6223 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.004121, allocations: 59.41 kB / 0.6223 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.135e-05/0.004172, allocations: 101.8 kB / 0.6224 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.004188, allocations: 29.7 kB / 0.6224 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.004222, allocations: 88.09 kB / 0.6225 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.614e-06/0.004229, allocations: 8 kB / 0.6225 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.004267, allocations: 29.7 kB / 0.6226 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.873e-05/0.004336, allocations: 310.8 kB / 0.6229 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.251e-05/0.004398, allocations: 65.61 kB / 0.6229 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.782e-05/0.004456, allocations: 80.27 kB / 0.623 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.34e-05/0.004519, allocations: 84.2 kB / 0.6231 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.004521, allocations: 0 / 0.6231 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001541/0.004675, allocations: 180.9 kB / 0.6233 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.004699, allocations: 41.73 kB / 0.6233 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.267e-06/0.004702, allocations: 320 / 0.6233 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.004711, allocations: 0 / 0.6233 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.392e-05/0.004725, allocations: 7.984 kB / 0.6233 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.004729, allocations: 4 kB / 0.6233 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.00484, allocations: 27.97 kB / 0.6233 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.00485, allocations: 4 kB / 0.6233 GB, free: 8.801 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 5.446e-05/0.004905, allocations: 114.8 kB / 0.6234 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-06/0.004911, allocations: 11.94 kB / 0.6235 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/0.004928, allocations: 11.67 kB / 0.6235 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.004929, allocations: 0 / 0.6235 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.004932, allocations: 0 / 0.6235 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.004935, allocations: 0 / 0.6235 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.863e-05/0.004994, allocations: 109.3 kB / 0.6236 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.004995, allocations: 4 kB / 0.6236 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-06/0.004997, allocations: 3.938 kB / 0.6236 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.004998, allocations: 0 / 0.6236 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.005003, allocations: 3.938 kB / 0.6236 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.005004, allocations: 0 / 0.6236 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005005, allocations: 4 kB / 0.6236 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.067e-05/0.005065, allocations: 81.08 kB / 0.6237 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-06/0.00507, allocations: 288 / 0.6237 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.928e-06/0.00508, allocations: 11.92 kB / 0.6237 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-06/0.005086, allocations: 3.938 kB / 0.6237 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.005105, allocations: 3.984 kB / 0.6237 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.005109, allocations: 4 kB / 0.6237 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.564e-05/0.005134, allocations: 87.27 kB / 0.6238 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005134, allocations: 0 / 0.6238 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001266/0.005261, allocations: 15.94 kB / 0.6238 GB, free: 8.273 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.322e-05/0.005354, allocations: 99.25 kB / 0.6239 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.005494, allocations: 145 kB / 0.624 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.005495, allocations: 0 / 0.624 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.71e-05/0.005512, allocations: 7.938 kB / 0.624 GB, free: 8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.005637, allocations: 8 kB / 0.624 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001893/0.005827, allocations: 146.6 kB / 0.6242 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.325e-05/0.00586, allocations: 66.62 kB / 0.6242 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.272e-05/0.005873, allocations: 12.69 kB / 0.6242 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of SimCode: time 2.5e-07/0.005873, allocations: 0 / 0.6242 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of Templates: time 0.001464/0.007337, allocations: 0.8762 MB / 0.6251 GB, free: 6.859 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.903118985705078] Failed to read output from testmodel.py, exit status != 0: 0.011625275015830994 0.018440818 0.014023925000000001 Calling exit ...