Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.001174/0.001174, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0009369/0.0009369, allocations: 162 kB / 22.43 MB, free: 2.141 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.8921/0.8921, allocations: 177.2 MB / 202.8 MB, free: 5.773 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.6893/0.6893, allocations: 155 MB / 414.2 MB, free: 488 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.Add,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Add",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.001397/0.001397, allocations: 66.06 kB / 0.6187 GB, free: 13.21 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.4523/0.4537, allocations: 102 MB / 0.7183 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001491/0.4552, allocations: 0.6882 MB / 0.719 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009375/0.4561, allocations: 0.8248 MB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.14e-05/0.4562, allocations: 1.125 kB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.654e-05/0.4562, allocations: 4.5 kB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.099e-05/0.4563, allocations: 5.609 kB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 7.657e-05/0.4563, allocations: 18.52 kB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.4564, allocations: 42.95 kB / 0.7199 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.4566, allocations: 12.94 kB / 0.7199 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.991e-05/0.4567, allocations: 28.19 kB / 0.7199 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.075e-05/0.4567, allocations: 18.91 kB / 0.7199 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.4567, allocations: 3.562 kB / 0.7199 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.083e-06/0.4567, allocations: 4.438 kB / 0.7199 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.4567, allocations: 9.969 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.4568, allocations: 13.7 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.42e-05/0.4569, allocations: 46.36 kB / 0.72 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4569, allocations: 4 kB / 0.72 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4569, allocations: 0 / 0.72 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.4569, allocations: 1.25 kB / 0.72 GB, free: 22.01 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.0003355/0.4572, allocations: 292 kB / 0.7203 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4573, allocations: 10.59 kB / 0.7203 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.26e-05/0.4573, allocations: 40.38 kB / 0.7203 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.994e-05/0.4573, allocations: 7.234 kB / 0.7203 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.463e-05/0.4574, allocations: 111.4 kB / 0.7204 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.4574, allocations: 1.656 kB / 0.7204 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.4574, allocations: 6.203 kB / 0.7204 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.4576, allocations: 68.5 kB / 0.7205 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.4576, allocations: 7.938 kB / 0.7205 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.4576, allocations: 2.469 kB / 0.7205 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4576, allocations: 0 / 0.7205 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.4578, allocations: 61.88 kB / 0.7206 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/0.458, allocations: 240.2 kB / 0.7208 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.4582, allocations: 54.34 kB / 0.7209 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.953e-05/0.4583, allocations: 40.72 kB / 0.7209 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.4583, allocations: 0 / 0.7209 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.4583, allocations: 36.98 kB / 0.7209 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4583, allocations: 0 / 0.7209 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003502/0.4586, allocations: 131.2 kB / 0.7211 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.4587, allocations: 53.48 kB / 0.7211 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.744e-05/0.4587, allocations: 110.7 kB / 0.7212 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.4587, allocations: 31.59 kB / 0.7212 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.4588, allocations: 85.78 kB / 0.7213 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.4588, allocations: 15.09 kB / 0.7213 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.4588, allocations: 24.61 kB / 0.7214 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.322e-05/0.4589, allocations: 315.1 kB / 0.7217 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-05/0.459, allocations: 29.48 kB / 0.7217 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.219e-05/0.4591, allocations: 32.2 kB / 0.7217 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.4592, allocations: 74.69 kB / 0.7218 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4592, allocations: 4.453 kB / 0.7218 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002076/0.4594, allocations: 97.3 kB / 0.7219 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.4595, allocations: 5.844 kB / 0.7219 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.4595, allocations: 0.6562 kB / 0.7219 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.4595, allocations: 1.219 kB / 0.7219 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.4596, allocations: 19.61 kB / 0.7219 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4596, allocations: 0 / 0.7219 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.4597, allocations: 11.47 kB / 0.7219 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.4597, allocations: 2.312 kB / 0.7219 GB, free: 20.38 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 5.794e-05/0.4597, allocations: 117.2 kB / 0.722 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.4597, allocations: 5.172 kB / 0.722 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.4598, allocations: 10.3 kB / 0.7221 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.4598, allocations: 1.188 kB / 0.7221 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4598, allocations: 0.9375 kB / 0.7221 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4598, allocations: 5.094 kB / 0.7221 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.801e-05/0.4599, allocations: 133 kB / 0.7222 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4599, allocations: 0.5625 kB / 0.7222 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.4599, allocations: 19.69 kB / 0.7222 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4599, allocations: 1.188 kB / 0.7222 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.4599, allocations: 0 / 0.7222 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4599, allocations: 0.6562 kB / 0.7222 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4599, allocations: 1.156 kB / 0.7222 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.4601, allocations: 202.7 kB / 0.7224 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.4601, allocations: 1.922 kB / 0.7224 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.4602, allocations: 1.062 kB / 0.7224 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.595e-05/0.4602, allocations: 15.64 kB / 0.7224 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.4603, allocations: 8.328 kB / 0.7224 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.4603, allocations: 1.188 kB / 0.7224 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.487e-05/0.4603, allocations: 87.8 kB / 0.7225 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4603, allocations: 0 / 0.7225 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001405/0.4604, allocations: 6.875 kB / 0.7225 GB, free: 19.84 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.0003108/0.4607, allocations: 0.7336 MB / 0.7232 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.4609, allocations: 70.61 kB / 0.7233 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4609, allocations: 5.094 kB / 0.7233 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.591e-05/0.461, allocations: 37.08 kB / 0.7233 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.4613, allocations: 5.938 kB / 0.7233 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.4616, allocations: 153.8 kB / 0.7235 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.751e-05/0.4617, allocations: 64.11 kB / 0.7236 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.548e-05/0.4617, allocations: 5.812 kB / 0.7236 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.4617, allocations: 15.91 kB / 0.7236 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of SimCode: time 3.71e-07/0.4617, allocations: 0 / 0.7236 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.4772, allocations: 2.311 MB / 0.7258 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.453/6.93, allocations: 7.516 kB / 0.7258 GB, free: 17.98 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Add.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.602492569945753] Failed to read output from testmodel.py, exit status != 0: 7.007400806993246 7.015760872 6.55696548 Calling exit ...