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.0008486/0.0008486, allocations: 80.45 kB / 19.9 MB, free: 12 kB / 13.93 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.000817/0.000817, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8895/0.8895, allocations: 177.2 MB / 203.6 MB, free: 5.762 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7035/0.7035, allocations: 154.9 MB / 414.9 MB, free: 0.5117 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: 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.001/0.001, allocations: 71.83 kB / 0.6199 GB, free: 12.74 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4694/0.4704, allocations: 102 MB / 0.7195 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Not): time 0.001361/0.4718, allocations: 0.5929 MB / 0.72 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.4728, allocations: 1.136 MB / 0.7211 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.533e-05/0.4729, allocations: 4 kB / 0.7211 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.4729, allocations: 0 / 0.7211 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.496e-05/0.473, allocations: 9.703 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.4734, allocations: 119.8 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.4736, allocations: 89.05 kB / 0.7214 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.4737, allocations: 4.188 kB / 0.7214 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.576e-05/0.4738, allocations: 51.31 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.45e-05/0.4738, allocations: 25.42 kB / 0.7214 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.4739, allocations: 12.19 kB / 0.7214 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.498e-05/0.4739, allocations: 20.48 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.4739, allocations: 2.453 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/0.474, allocations: 31.03 kB / 0.7215 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.4741, allocations: 89.06 kB / 0.7216 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4741, allocations: 0 / 0.7216 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4741, allocations: 0 / 0.7216 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.4741, allocations: 0 / 0.7216 GB, free: 22.04 MB / 0.6355 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.0003444/0.4745, allocations: 301 kB / 0.7219 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.4745, allocations: 10.28 kB / 0.7219 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.4746, allocations: 13.75 kB / 0.7219 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.861e-05/0.4746, allocations: 109.4 kB / 0.722 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.4747, allocations: 3.438 kB / 0.722 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.4747, allocations: 4.906 kB / 0.722 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.738e-05/0.4747, allocations: 39.7 kB / 0.722 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.4748, allocations: 192 / 0.722 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.4748, allocations: 5.984 kB / 0.722 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.4748, allocations: 3.984 kB / 0.722 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.314e-05/0.4748, allocations: 14.47 kB / 0.7221 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002655/0.4751, allocations: 216 kB / 0.7223 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.903e-05/0.4751, allocations: 22.33 kB / 0.7223 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.364e-05/0.4751, allocations: 15.48 kB / 0.7223 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.4751, allocations: 5.031 kB / 0.7223 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/0.4752, allocations: 60.83 kB / 0.7224 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.4752, allocations: 0 / 0.7224 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001636/0.4754, allocations: 65.45 kB / 0.7224 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.4754, allocations: 53.05 kB / 0.7225 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.041e-05/0.4755, allocations: 107.6 kB / 0.7226 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.4755, allocations: 28.69 kB / 0.7226 GB, free: 21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.4755, allocations: 87.06 kB / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.826e-06/0.4755, allocations: 6.141 kB / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.4756, allocations: 33.58 kB / 0.7227 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.664e-05/0.4756, allocations: 317.5 kB / 0.723 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.816e-05/0.4757, allocations: 60.48 kB / 0.7231 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.237e-05/0.4758, allocations: 81.45 kB / 0.7232 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.543e-05/0.4759, allocations: 80.69 kB / 0.7232 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4759, allocations: 0 / 0.7232 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001885/0.476, allocations: 179.1 kB / 0.7234 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.4761, allocations: 35.05 kB / 0.7234 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4761, allocations: 6.016 kB / 0.7235 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.4761, allocations: 1.188 kB / 0.7235 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.82e-05/0.4761, allocations: 5.094 kB / 0.7235 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.4761, allocations: 1.656 kB / 0.7235 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.4763, allocations: 32.31 kB / 0.7235 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.4763, allocations: 6.094 kB / 0.7235 GB, free: 20.21 MB / 0.6355 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.388e-05/0.4763, allocations: 123.8 kB / 0.7236 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-06/0.4763, allocations: 1.875 kB / 0.7236 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.4764, allocations: 5.641 kB / 0.7236 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4764, allocations: 4 kB / 0.7236 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4764, allocations: 1.219 kB / 0.7236 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4764, allocations: 0.7969 kB / 0.7236 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.355e-05/0.4764, allocations: 105.7 kB / 0.7237 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.4764, allocations: 9.125 kB / 0.7237 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.886e-06/0.4764, allocations: 0.9375 kB / 0.7237 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4764, allocations: 1.062 kB / 0.7237 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.4764, allocations: 0 / 0.7237 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4764, allocations: 5.734 kB / 0.7237 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4764, allocations: 0 / 0.7237 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.724e-05/0.4765, allocations: 89.75 kB / 0.7238 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-06/0.4765, allocations: 14.72 kB / 0.7238 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.4766, allocations: 1.109 kB / 0.7238 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.487e-06/0.4766, allocations: 1.094 kB / 0.7238 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.4766, allocations: 2.562 kB / 0.7238 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.4766, allocations: 5.703 kB / 0.7239 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.961e-05/0.4766, allocations: 81.3 kB / 0.7239 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4766, allocations: 0 / 0.7239 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001442/0.4768, allocations: 19.69 kB / 0.724 GB, free: 19.77 MB / 0.6355 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 0.0001109/0.4769, allocations: 98.8 kB / 0.724 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001615/0.477, allocations: 138 kB / 0.7242 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.477, allocations: 0 / 0.7242 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.071e-05/0.4771, allocations: 11.08 kB / 0.7242 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.4772, allocations: 11.02 kB / 0.7242 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002195/0.4774, allocations: 122.3 kB / 0.7243 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.106e-05/0.4775, allocations: 62.34 kB / 0.7244 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.662e-05/0.4775, allocations: 6.281 kB / 0.7244 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.495e-05/0.4775, allocations: 15.17 kB / 0.7244 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.4775, allocations: 0 / 0.7244 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of Templates: time 0.002917/0.4804, allocations: 1.149 MB / 0.7255 GB, free: 19.22 MB / 0.6355 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.128552809008397] Failed to read output from testmodel.py, exit status != 0: 0.486227976041846 0.49440226299999995 0.018512012 Calling exit ...