Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.0007381/0.0007381, allocations: 80.44 kB / 19.91 MB, free: 4 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.000733/0.000733, allocations: 169.2 kB / 23.19 MB, free: 1.367 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.9094/0.9094, allocations: 177.2 MB / 203.6 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: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.7299/0.7299, allocations: 154.9 MB / 414.9 MB, free: 0.5352 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [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.001468/0.001468, allocations: 67.91 kB / 0.6199 GB, free: 12.82 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.465/0.4665, allocations: 102 MB / 0.7195 GB, free: 23.53 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001243/0.4677, allocations: 0.5362 MB / 0.72 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 4.058e-05/0.4677, allocations: 5.219 kB / 0.72 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.4678, allocations: 0 / 0.72 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.4678, allocations: 7.938 kB / 0.72 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.53e-05/0.4678, allocations: 0 / 0.72 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 3.183e-05/0.4679, allocations: 1.188 kB / 0.72 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.025e-05/0.4679, allocations: 2.047 kB / 0.72 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.64e-05/0.468, allocations: 2.156 kB / 0.72 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.145e-05/0.468, allocations: 0.7031 kB / 0.72 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 1.85e-05/0.468, allocations: 1.312 kB / 0.72 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.468, allocations: 0 / 0.72 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.278e-06/0.468, allocations: 1.406 kB / 0.72 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.4681, allocations: 3.984 kB / 0.72 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.4681, allocations: 8 kB / 0.72 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 6.811e-05/0.4681, allocations: 7.156 kB / 0.72 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4681, allocations: 0 / 0.72 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4682, allocations: 1.344 kB / 0.72 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.4682, allocations: 0 / 0.72 GB, free: 23.18 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002185/0.4684, allocations: 236.7 kB / 0.7202 GB, free: 22.92 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.4684, allocations: 9.953 kB / 0.7203 GB, free: 22.92 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.4684, allocations: 2.062 kB / 0.7203 GB, free: 22.92 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.975e-05/0.4685, allocations: 112.2 kB / 0.7204 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.4685, allocations: 2.797 kB / 0.7204 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.4685, allocations: 384 / 0.7204 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.694e-05/0.4686, allocations: 35.83 kB / 0.7204 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4686, allocations: 192 / 0.7204 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.4686, allocations: 5.766 kB / 0.7204 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4686, allocations: 0 / 0.7204 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.385e-05/0.4686, allocations: 1.312 kB / 0.7204 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.4688, allocations: 333.9 kB / 0.7207 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.512e-05/0.4689, allocations: 171.4 kB / 0.7209 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.182e-05/0.4689, allocations: 80.14 kB / 0.721 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.4689, allocations: 80.8 kB / 0.721 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.4689, allocations: 108.1 kB / 0.7211 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.4689, allocations: 5.625 kB / 0.7212 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.081e-05/0.469, allocations: 25.7 kB / 0.7212 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.378e-05/0.469, allocations: 56.16 kB / 0.7212 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.031e-05/0.469, allocations: 93.27 kB / 0.7213 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.937e-06/0.469, allocations: 29.64 kB / 0.7213 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.711e-05/0.469, allocations: 81.97 kB / 0.7214 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.469, allocations: 0 / 0.7214 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.4691, allocations: 11.92 kB / 0.7214 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.339e-05/0.4691, allocations: 313.3 kB / 0.7217 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-06/0.4691, allocations: 4 kB / 0.7217 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-06/0.4691, allocations: 4.125 kB / 0.7217 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.408e-06/0.4691, allocations: 79.22 kB / 0.7218 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.4691, allocations: 76.75 kB / 0.7219 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.815e-05/0.4691, allocations: 37.33 kB / 0.7219 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.4692, allocations: 80.38 kB / 0.722 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.4692, allocations: 81.39 kB / 0.7221 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.4692, allocations: 151.7 kB / 0.7222 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.593e-06/0.4692, allocations: 77.42 kB / 0.7223 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/0.4692, allocations: 155.5 kB / 0.7224 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.209e-05/0.4692, allocations: 76.98 kB / 0.7225 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.4693, allocations: 85.05 kB / 0.7226 GB, free: 20.42 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 3.95e-05/0.4693, allocations: 264 kB / 0.7229 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.4693, allocations: 107.7 kB / 0.723 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.889e-05/0.4693, allocations: 114.1 kB / 0.7231 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.4693, allocations: 179 kB / 0.7232 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/0.4694, allocations: 102.5 kB / 0.7233 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.4694, allocations: 108 kB / 0.7234 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.4694, allocations: 182.6 kB / 0.7236 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.82e-05/0.4694, allocations: 106.7 kB / 0.7237 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.4694, allocations: 187.2 kB / 0.7239 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 2.331e-05/0.4695, allocations: 266 kB / 0.7241 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 5.389e-05/0.4695, allocations: 381.5 kB / 0.7245 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.881e-05/0.4695, allocations: 107.1 kB / 0.7246 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.648e-05/0.4695, allocations: 76.92 kB / 0.7247 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of Backend: time 1.21e-07/0.4695, allocations: 0 / 0.7247 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.4698, allocations: 77.64 kB / 0.7248 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0002415/0.47, allocations: 0.904 MB / 0.7256 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.001308/0.4713, allocations: 174.2 kB / 0.7258 GB, free: 17.14 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.193517733132467] Failed to read output from testmodel.py, exit status != 0: 0.4789999178610742 0.48880517999999995 0.018658047 Calling exit ...