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.001095/0.001095, 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.001215/0.001215, 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.9191/0.9191, allocations: 177.2 MB / 203.6 MB, free: 5.754 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.7134/0.7134, allocations: 154.9 MB / 414.9 MB, free: 0.5039 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.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.0008887/0.0008887, allocations: 71.88 kB / 0.6199 GB, free: 12.8 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.4609/0.4617, allocations: 102 MB / 0.7195 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001617/0.4634, allocations: 0.6267 MB / 0.7201 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.4644, allocations: 1.214 MB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.136e-05/0.4645, allocations: 1.406 kB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.4645, allocations: 0.5625 kB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.004e-05/0.4646, allocations: 15.08 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005196/0.4651, allocations: 213.5 kB / 0.7215 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.4653, allocations: 172.8 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.4654, allocations: 14.39 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.4655, allocations: 100.8 kB / 0.7217 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.4657, allocations: 56.14 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.4657, allocations: 15.28 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.917e-05/0.4658, allocations: 27.98 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.824e-05/0.4658, allocations: 5.156 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.601e-05/0.4659, allocations: 55.89 kB / 0.7219 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.4661, allocations: 150.7 kB / 0.722 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.4661, allocations: 5.188 kB / 0.722 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.605e-06/0.4661, allocations: 3.938 kB / 0.7221 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.4661, allocations: 0 / 0.7221 GB, free: 21.86 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004387/0.4666, allocations: 358.1 kB / 0.7224 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.4666, allocations: 11.12 kB / 0.7224 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.29e-05/0.4667, allocations: 13.23 kB / 0.7224 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.468e-05/0.4668, allocations: 114.8 kB / 0.7225 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.4668, allocations: 9.75 kB / 0.7225 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.4668, allocations: 13.83 kB / 0.7225 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.4669, allocations: 54.52 kB / 0.7226 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4669, allocations: 4.188 kB / 0.7226 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.467, allocations: 7.938 kB / 0.7226 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.467, allocations: 2.047 kB / 0.7226 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.389e-05/0.467, allocations: 13.09 kB / 0.7226 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.4675, allocations: 270.7 kB / 0.7229 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.008e-05/0.4676, allocations: 34.03 kB / 0.7229 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.4676, allocations: 18.56 kB / 0.7229 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.4676, allocations: 1.875 kB / 0.7229 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.4678, allocations: 77.75 kB / 0.723 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.4678, allocations: 4 kB / 0.723 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002548/0.468, allocations: 108.9 kB / 0.7231 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.4681, allocations: 53.66 kB / 0.7232 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.288e-05/0.4681, allocations: 120.2 kB / 0.7233 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.4682, allocations: 35.14 kB / 0.7233 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.4682, allocations: 94.09 kB / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.4682, allocations: 11.44 kB / 0.7234 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.014e-05/0.4683, allocations: 48.59 kB / 0.7235 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.891e-05/0.4683, allocations: 319.3 kB / 0.7238 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.4685, allocations: 121.2 kB / 0.7239 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.4686, allocations: 151 kB / 0.724 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.4687, allocations: 174.4 kB / 0.7242 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4687, allocations: 1.125 kB / 0.7242 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003099/0.469, allocations: 319.7 kB / 0.7245 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001089/0.4701, allocations: 68.17 kB / 0.7246 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4701, allocations: 1.812 kB / 0.7246 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.4702, allocations: 6.656 kB / 0.7246 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.845e-05/0.4702, allocations: 2.641 kB / 0.7246 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4702, allocations: 1.953 kB / 0.7246 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.4704, allocations: 56.72 kB / 0.7246 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.4704, allocations: 16.27 kB / 0.7246 GB, free: 19.61 MB / 0.6355 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 6.213e-05/0.4705, allocations: 131.2 kB / 0.7248 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-06/0.4705, allocations: 7.391 kB / 0.7248 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.227e-05/0.4705, allocations: 13.91 kB / 0.7248 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.4705, allocations: 2.141 kB / 0.7248 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4705, allocations: 0 / 0.7248 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.4705, allocations: 0 / 0.7248 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.929e-05/0.4706, allocations: 121.2 kB / 0.7249 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.4706, allocations: 1.312 kB / 0.7249 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.9e-06/0.4706, allocations: 5.984 kB / 0.7249 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.4706, allocations: 0 / 0.7249 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.4706, allocations: 2.141 kB / 0.7249 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4706, allocations: 1.031 kB / 0.7249 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4706, allocations: 5.172 kB / 0.7249 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.4707, allocations: 118.2 kB / 0.725 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.4707, allocations: 6.188 kB / 0.725 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.4707, allocations: 2.594 kB / 0.725 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.211e-05/0.4707, allocations: 1.125 kB / 0.725 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.4708, allocations: 6.375 kB / 0.7251 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.4708, allocations: 10.89 kB / 0.7251 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.069e-05/0.4708, allocations: 94.11 kB / 0.7252 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4708, allocations: 0 / 0.7252 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001652/0.471, allocations: 27.66 kB / 0.7252 GB, free: 19.14 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: 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.0001106/0.4711, allocations: 109.8 kB / 0.7253 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002486/0.4713, allocations: 280.7 kB / 0.7256 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4713, allocations: 0 / 0.7256 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.56e-05/0.4714, allocations: 23.95 kB / 0.7256 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.4716, allocations: 23.11 kB / 0.7256 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.4718, allocations: 155.8 kB / 0.7257 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.629e-05/0.4719, allocations: 73.94 kB / 0.7258 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.4719, allocations: 8.812 kB / 0.7258 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.4719, allocations: 16.12 kB / 0.7258 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of SimCode: time 4.11e-07/0.4719, allocations: 1.219 kB / 0.7258 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of Templates: time 0.00416/0.4761, allocations: 2.052 MB / 0.7278 GB, free: 18.33 MB / 0.6355 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.1795780749525875] Failed to read output from testmodel.py, exit status != 0: 0.4817929529817775 0.49014231399999997 0.022344658 Calling exit ...