Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.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.0007436/0.0007436, allocations: 80.45 kB / 19.15 MB, free: 0.7773 MB / 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.000777/0.000777, allocations: 162.3 kB / 22.43 MB, free: 2.145 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.8644/0.8644, allocations: 177.2 MB / 202.8 MB, free: 5.77 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.7165/0.7165, allocations: 155 MB / 414.2 MB, free: 472 kB / 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [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.0008352/0.0008352, allocations: 68.97 kB / 0.6187 GB, free: 13.16 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.4688/0.4696, allocations: 102 MB / 0.7183 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001418/0.4711, allocations: 0.6852 MB / 0.719 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007702/0.4718, allocations: 0.8339 MB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.269e-05/0.4719, allocations: 1.312 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.4719, allocations: 0 / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.844e-05/0.4719, allocations: 13.95 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001057/0.4721, allocations: 13.58 kB / 0.7198 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.105e-05/0.4721, allocations: 39.3 kB / 0.7199 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.4722, allocations: 12.75 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.563e-05/0.4723, allocations: 25.69 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.246e-05/0.4724, allocations: 18.36 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.4724, allocations: 7.75 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.4724, allocations: 3.125 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.4724, allocations: 7.375 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.4724, allocations: 22.03 kB / 0.72 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.186e-05/0.4725, allocations: 46.36 kB / 0.72 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4725, allocations: 0 / 0.72 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4725, allocations: 3.938 kB / 0.72 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.4725, allocations: 0 / 0.72 GB, free: 21.98 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.0003394/0.4729, allocations: 291.6 kB / 0.7203 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.4729, allocations: 15.59 kB / 0.7203 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.33e-05/0.4729, allocations: 32.02 kB / 0.7203 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.286e-05/0.473, allocations: 11.77 kB / 0.7203 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.687e-05/0.473, allocations: 106.3 kB / 0.7204 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.473, allocations: 1.719 kB / 0.7204 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.473, allocations: 2.906 kB / 0.7204 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.4732, allocations: 73.02 kB / 0.7205 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.4732, allocations: 3.938 kB / 0.7205 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.4732, allocations: 0 / 0.7205 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4732, allocations: 5.031 kB / 0.7205 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.4734, allocations: 67.02 kB / 0.7206 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.4737, allocations: 231.9 kB / 0.7208 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.4738, allocations: 55.44 kB / 0.7209 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.166e-05/0.4739, allocations: 40.33 kB / 0.7209 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.4739, allocations: 1.062 kB / 0.7209 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.4739, allocations: 32.3 kB / 0.7209 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.4739, allocations: 3.938 kB / 0.7209 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003277/0.4742, allocations: 125.2 kB / 0.7211 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.4743, allocations: 56.56 kB / 0.7211 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.291e-05/0.4743, allocations: 115.3 kB / 0.7212 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.643e-06/0.4743, allocations: 34.77 kB / 0.7212 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.369e-05/0.4743, allocations: 86.36 kB / 0.7213 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.4744, allocations: 18.94 kB / 0.7214 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.4744, allocations: 13.02 kB / 0.7214 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.906e-05/0.4744, allocations: 319.2 kB / 0.7217 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.886e-05/0.4745, allocations: 30.52 kB / 0.7217 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.561e-05/0.4746, allocations: 35.77 kB / 0.7217 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.4747, allocations: 75.08 kB / 0.7218 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4747, allocations: 0 / 0.7218 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001706/0.4749, allocations: 93.94 kB / 0.7219 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.4749, allocations: 9.5 kB / 0.7219 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4749, allocations: 0.5156 kB / 0.7219 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.4749, allocations: 1.094 kB / 0.7219 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.548e-05/0.475, allocations: 14.98 kB / 0.7219 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.475, allocations: 1.125 kB / 0.7219 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.101e-05/0.4751, allocations: 11.91 kB / 0.7219 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.4751, allocations: 1.906 kB / 0.7219 GB, free: 20.36 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 (3): * Single equations (assignments): 3 * 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.96e-05/0.4751, allocations: 117.8 kB / 0.722 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.4751, allocations: 9.141 kB / 0.7221 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.4753, allocations: 113 kB / 0.7222 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4753, allocations: 1.031 kB / 0.7222 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4753, allocations: 0.6562 kB / 0.7222 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.4753, allocations: 1.125 kB / 0.7222 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.196e-05/0.4754, allocations: 133.1 kB / 0.7223 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4754, allocations: 0.7969 kB / 0.7223 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.4755, allocations: 20.62 kB / 0.7223 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.4755, allocations: 0 / 0.7223 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.4755, allocations: 1.281 kB / 0.7223 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4755, allocations: 0 / 0.7223 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4755, allocations: 0.9375 kB / 0.7223 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.4757, allocations: 203.4 kB / 0.7225 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-06/0.4757, allocations: 2.219 kB / 0.7225 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.4757, allocations: 8.656 kB / 0.7225 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.343e-05/0.4757, allocations: 12.06 kB / 0.7225 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.4758, allocations: 7.516 kB / 0.7225 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.4758, allocations: 1 kB / 0.7225 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.068e-05/0.4758, allocations: 92.41 kB / 0.7226 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4758, allocations: 1.094 kB / 0.7226 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001461/0.4759, allocations: 5.438 kB / 0.7226 GB, free: 19.76 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0002866/0.4762, allocations: 0.7323 MB / 0.7233 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001926/0.4764, allocations: 70.22 kB / 0.7234 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4764, allocations: 0 / 0.7234 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.567e-05/0.4765, allocations: 39.16 kB / 0.7234 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.4767, allocations: 4.516 kB / 0.7235 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.4771, allocations: 153.1 kB / 0.7236 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.204e-05/0.4771, allocations: 70.12 kB / 0.7237 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.4772, allocations: 1.125 kB / 0.7237 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.4772, allocations: 14.66 kB / 0.7237 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of SimCode: time 4.61e-07/0.4772, allocations: 0 / 0.7237 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.4925, allocations: 2.312 MB / 0.7259 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.463/6.956, allocations: 8.156 kB / 0.7259 GB, free: 17.91 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.598302162019536] Failed to read output from testmodel.py, exit status != 0: 7.03211743501015 7.040303793 6.566170685 Calling exit ...