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.0007805/0.0007805, allocations: 76.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.0007581/0.0007581, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.881/0.881, allocations: 177.2 MB / 203.6 MB, free: 5.75 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.7145/0.7145, allocations: 154.9 MB / 414.9 MB, free: 0.5078 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.0008477/0.0008477, allocations: 71.91 kB / 0.6199 GB, free: 12.76 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.4898/0.4906, allocations: 102 MB / 0.7194 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00141/0.492, allocations: 0.6337 MB / 0.7201 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.4931, allocations: 1.212 MB / 0.7212 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.4931, allocations: 1.219 kB / 0.7212 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.4932, allocations: 3.938 kB / 0.7213 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.476e-05/0.4932, allocations: 11.72 kB / 0.7213 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.4937, allocations: 217.7 kB / 0.7215 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.4939, allocations: 173.8 kB / 0.7216 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.757e-05/0.494, allocations: 17.17 kB / 0.7217 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.4941, allocations: 93.81 kB / 0.7217 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.4942, allocations: 59.39 kB / 0.7218 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.4942, allocations: 15.81 kB / 0.7218 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.34e-05/0.4943, allocations: 23.72 kB / 0.7218 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.4943, allocations: 9.797 kB / 0.7218 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.4944, allocations: 55.64 kB / 0.7219 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.4946, allocations: 151.1 kB / 0.722 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.4946, allocations: 0 / 0.722 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4946, allocations: 0 / 0.722 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.4946, allocations: 4.969 kB / 0.722 GB, free: 21.91 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.0003644/0.4949, allocations: 361.6 kB / 0.7224 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.495, allocations: 15.66 kB / 0.7224 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.539e-05/0.495, allocations: 13.16 kB / 0.7224 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.583e-05/0.4951, allocations: 114.6 kB / 0.7225 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.4951, allocations: 5.297 kB / 0.7225 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.4951, allocations: 10.2 kB / 0.7225 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.112e-05/0.4952, allocations: 49.69 kB / 0.7226 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.4952, allocations: 192 / 0.7226 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.4952, allocations: 9.656 kB / 0.7226 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.4952, allocations: 0.7031 kB / 0.7226 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.186e-05/0.4953, allocations: 16.66 kB / 0.7226 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.4956, allocations: 271.3 kB / 0.7229 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.198e-05/0.4956, allocations: 33.48 kB / 0.7229 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.4956, allocations: 19.06 kB / 0.7229 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-06/0.4957, allocations: 1.156 kB / 0.7229 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/0.4958, allocations: 81.83 kB / 0.723 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.113e-06/0.4958, allocations: 1.312 kB / 0.723 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000197/0.496, allocations: 108.1 kB / 0.7231 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.496, allocations: 53.73 kB / 0.7232 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.546e-05/0.496, allocations: 121.5 kB / 0.7233 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.4961, allocations: 29.2 kB / 0.7233 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.4961, allocations: 94.44 kB / 0.7234 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.191e-05/0.4961, allocations: 19.17 kB / 0.7234 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/0.4962, allocations: 49.41 kB / 0.7235 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.271e-05/0.4962, allocations: 319.5 kB / 0.7238 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.4963, allocations: 119.6 kB / 0.7239 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.4964, allocations: 155.6 kB / 0.724 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.4965, allocations: 171.2 kB / 0.7242 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4965, allocations: 1.375 kB / 0.7242 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002809/0.4968, allocations: 323.8 kB / 0.7245 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.4968, allocations: 64.52 kB / 0.7246 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4969, allocations: 1.125 kB / 0.7246 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.4969, allocations: 2.125 kB / 0.7246 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.871e-05/0.4969, allocations: 11.05 kB / 0.7246 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4969, allocations: 5.672 kB / 0.7246 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.4971, allocations: 59.92 kB / 0.7246 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.4971, allocations: 12.56 kB / 0.7246 GB, free: 19.65 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 5.349e-05/0.4972, allocations: 127.8 kB / 0.7248 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-06/0.4972, allocations: 7.438 kB / 0.7248 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.987e-05/0.4972, allocations: 10.72 kB / 0.7248 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4972, allocations: 1.094 kB / 0.7248 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4972, allocations: 0 / 0.7248 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4972, allocations: 5.359 kB / 0.7248 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.681e-05/0.4973, allocations: 120.1 kB / 0.7249 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4973, allocations: 1.156 kB / 0.7249 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-06/0.4973, allocations: 1.703 kB / 0.7249 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.4973, allocations: 1.062 kB / 0.7249 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.4973, allocations: 2.031 kB / 0.7249 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4973, allocations: 0.7031 kB / 0.7249 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4973, allocations: 1.188 kB / 0.7249 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.4974, allocations: 122.8 kB / 0.725 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-06/0.4974, allocations: 2.312 kB / 0.725 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.4974, allocations: 1.938 kB / 0.725 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.397e-05/0.4974, allocations: 8.797 kB / 0.725 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.4975, allocations: 6.797 kB / 0.7251 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.4975, allocations: 2.719 kB / 0.7251 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.372e-05/0.4975, allocations: 94.44 kB / 0.7251 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4975, allocations: 0 / 0.7251 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001611/0.4977, allocations: 35.73 kB / 0.7252 GB, free: 19.19 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 9.517e-05/0.4977, allocations: 99.69 kB / 0.7253 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.498, allocations: 281.1 kB / 0.7255 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.498, allocations: 4.062 kB / 0.7255 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.533e-05/0.498, allocations: 28.89 kB / 0.7256 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.4982, allocations: 16.67 kB / 0.7256 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000254/0.4984, allocations: 158.9 kB / 0.7257 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.308e-05/0.4985, allocations: 70.22 kB / 0.7258 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.247e-05/0.4985, allocations: 10.08 kB / 0.7258 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.667e-05/0.4985, allocations: 16.03 kB / 0.7258 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of SimCode: time 4.11e-07/0.4985, allocations: 0 / 0.7258 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of Templates: time 0.003962/0.5025, allocations: 2.058 MB / 0.7278 GB, free: 18.38 MB / 0.6355 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.18980797403492] Failed to read output from testmodel.py, exit status != 0: 0.5083014330593869 0.517304287 0.020978709 Calling exit ...