Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.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.0008356/0.0008356, 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.0008837/0.0008837, allocations: 162 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.8671/0.8671, 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.7111/0.7111, allocations: 155 MB / 414.2 MB, free: 500 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.Average,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",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.0009332/0.0009332, allocations: 69.52 kB / 0.6187 GB, free: 13.18 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.4641/0.465, allocations: 102 MB / 0.7183 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.00136/0.4664, allocations: 0.6843 MB / 0.719 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006206/0.467, allocations: 0.8286 MB / 0.7198 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.401e-05/0.4671, allocations: 1.344 kB / 0.7198 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.4671, allocations: 3.938 kB / 0.7198 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.961e-05/0.4671, allocations: 5.75 kB / 0.7198 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 5.994e-05/0.4672, allocations: 18.08 kB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.745e-05/0.4673, allocations: 40.06 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.4674, allocations: 12.95 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.483e-05/0.4675, allocations: 28.78 kB / 0.7199 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.627e-05/0.4675, allocations: 17.28 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.4675, allocations: 4.375 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.061e-06/0.4675, allocations: 4.375 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.4675, allocations: 6.438 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.4676, allocations: 14.14 kB / 0.7199 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.802e-05/0.4676, allocations: 53.23 kB / 0.72 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.4677, allocations: 1.469 kB / 0.72 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4677, allocations: 4 kB / 0.72 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.4677, allocations: 0.6562 kB / 0.72 GB, free: 21.96 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.0003436/0.468, allocations: 293 kB / 0.7203 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.468, allocations: 9.969 kB / 0.7203 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.429e-05/0.4681, allocations: 32.52 kB / 0.7203 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.06e-05/0.4681, allocations: 7.266 kB / 0.7203 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.737e-05/0.4681, allocations: 115.3 kB / 0.7204 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.4682, allocations: 1.438 kB / 0.7204 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.4682, allocations: 2.406 kB / 0.7204 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.4683, allocations: 77.06 kB / 0.7205 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.4683, allocations: 3.938 kB / 0.7205 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.4683, allocations: 1.656 kB / 0.7205 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4683, allocations: 0 / 0.7205 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.4685, allocations: 67.09 kB / 0.7206 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/0.4688, allocations: 235.9 kB / 0.7208 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.4689, allocations: 57.72 kB / 0.7209 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.602e-05/0.4689, allocations: 37.47 kB / 0.7209 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.469, allocations: 0.6562 kB / 0.7209 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.29e-05/0.469, allocations: 36.78 kB / 0.7209 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.469, allocations: 0 / 0.7209 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003077/0.4693, allocations: 128.3 kB / 0.7211 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.4693, allocations: 56.88 kB / 0.7211 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.875e-05/0.4693, allocations: 111 kB / 0.7212 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.771e-06/0.4694, allocations: 26.52 kB / 0.7212 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.225e-05/0.4694, allocations: 83.5 kB / 0.7213 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.4694, allocations: 17.62 kB / 0.7213 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.087e-05/0.4694, allocations: 17.19 kB / 0.7214 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.898e-05/0.4694, allocations: 323.1 kB / 0.7217 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.816e-05/0.4695, allocations: 29.98 kB / 0.7217 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.4696, allocations: 35.08 kB / 0.7217 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.4697, allocations: 70.89 kB / 0.7218 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4697, allocations: 4 kB / 0.7218 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001594/0.4699, allocations: 94.09 kB / 0.7219 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.4699, allocations: 6.141 kB / 0.7219 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.4699, allocations: 0 / 0.7219 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.4699, allocations: 0.7969 kB / 0.7219 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.485e-05/0.47, allocations: 15.8 kB / 0.7219 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.47, allocations: 8.062 kB / 0.7219 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.831e-05/0.47, allocations: 12.09 kB / 0.7219 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.47, allocations: 1.219 kB / 0.7219 GB, free: 20.34 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.778e-05/0.4701, allocations: 122 kB / 0.7221 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.4701, allocations: 5.859 kB / 0.7221 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.638e-05/0.4701, allocations: 5.656 kB / 0.7221 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4701, allocations: 1.594 kB / 0.7221 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.4701, allocations: 0.6094 kB / 0.7221 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4701, allocations: 0 / 0.7221 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.111e-05/0.4702, allocations: 142.4 kB / 0.7222 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.4702, allocations: 0 / 0.7222 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.4702, allocations: 15.56 kB / 0.7222 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.4702, allocations: 1.125 kB / 0.7222 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.4702, allocations: 0 / 0.7222 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4702, allocations: 1.906 kB / 0.7222 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.7e-07/0.4702, allocations: 0 / 0.7222 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.4704, allocations: 203 kB / 0.7224 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-06/0.4704, allocations: 1.438 kB / 0.7224 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.4704, allocations: 5.547 kB / 0.7224 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.143e-05/0.4705, allocations: 12.23 kB / 0.7224 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.4705, allocations: 7.844 kB / 0.7224 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.4705, allocations: 1.094 kB / 0.7224 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.179e-05/0.4706, allocations: 88.36 kB / 0.7225 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4706, allocations: 0 / 0.7225 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001386/0.4707, allocations: 5.406 kB / 0.7225 GB, free: 19.79 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.0002713/0.471, allocations: 0.7397 MB / 0.7232 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000188/0.4712, allocations: 70.3 kB / 0.7233 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4712, allocations: 0 / 0.7233 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.911e-05/0.4712, allocations: 42.69 kB / 0.7234 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.4714, allocations: 5 kB / 0.7234 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/0.4717, allocations: 154 kB / 0.7235 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.294e-05/0.4718, allocations: 63.48 kB / 0.7236 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.265e-05/0.4718, allocations: 5.625 kB / 0.7236 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.4718, allocations: 16.17 kB / 0.7236 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of SimCode: time 3.81e-07/0.4718, allocations: 0 / 0.7236 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01537/0.4872, allocations: 2.309 MB / 0.7258 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.502/6.989, allocations: 11.45 kB / 0.7259 GB, free: 17.92 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Average.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.613797595025972] Failed to read output from testmodel.py, exit status != 0: 7.064319588942453 7.073611851 6.604397751 Calling exit ...