Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008211/0.0008211, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009056/0.0009056, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9135/0.9135, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7308/0.7308, allocations: 154.6 MB / 413.7 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6181 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/2.001e-05, allocations: 7.281 kB / 0.6182 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001279/0.001299, allocations: 0.6942 MB / 0.6188 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0008247/0.002123, allocations: 0.8199 MB / 0.6196 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.283e-05/0.002156, allocations: 0 / 0.6196 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.002185, allocations: 3.938 kB / 0.6196 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 7.214e-05/0.002257, allocations: 19.86 kB / 0.6197 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 6.265e-05/0.002319, allocations: 11.98 kB / 0.6197 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 8.386e-05/0.002403, allocations: 43.86 kB / 0.6197 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.002516, allocations: 11.98 kB / 0.6197 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 7.197e-05/0.002588, allocations: 19.98 kB / 0.6197 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 4.151e-05/0.002629, allocations: 23.91 kB / 0.6198 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.002651, allocations: 0 / 0.6198 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 5.43e-06/0.002657, allocations: 4 kB / 0.6198 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.002674, allocations: 8 kB / 0.6198 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.002698, allocations: 15.92 kB / 0.6198 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 9.086e-05/0.002789, allocations: 43.86 kB / 0.6198 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.002791, allocations: 0 / 0.6198 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of FrontEnd: time 8.91e-07/0.002792, allocations: 4 kB / 0.6198 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.002797, allocations: 0 / 0.6198 GB, free: 10.77 MB / 0.5417 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.0004073/0.003204, allocations: 290.2 kB / 0.6201 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.003245, allocations: 8.031 kB / 0.6201 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.293e-05/0.003278, allocations: 34.75 kB / 0.6202 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.0033, allocations: 4.891 kB / 0.6202 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.886e-05/0.003389, allocations: 113.7 kB / 0.6203 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.0034, allocations: 4.375 kB / 0.6203 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.00341, allocations: 4.375 kB / 0.6203 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.003598, allocations: 74.2 kB / 0.6203 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.003608, allocations: 192 / 0.6203 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.003619, allocations: 4.312 kB / 0.6203 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.003627, allocations: 8.062 kB / 0.6204 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.003768, allocations: 59.94 kB / 0.6204 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.004066, allocations: 240 kB / 0.6206 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.00418, allocations: 50.55 kB / 0.6207 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.492e-05/0.004255, allocations: 40.91 kB / 0.6207 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.004265, allocations: 3.938 kB / 0.6207 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.004283, allocations: 30.56 kB / 0.6208 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.004284, allocations: 0 / 0.6208 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0003055/0.004589, allocations: 133.5 kB / 0.6209 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.004616, allocations: 55.41 kB / 0.6209 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.881e-05/0.004675, allocations: 105.8 kB / 0.621 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.004686, allocations: 25.7 kB / 0.6211 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.004721, allocations: 88.14 kB / 0.6212 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.004738, allocations: 11.89 kB / 0.6212 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.004764, allocations: 17.72 kB / 0.6212 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.123e-05/0.004835, allocations: 318.8 kB / 0.6215 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.956e-05/0.004905, allocations: 31.97 kB / 0.6215 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-05/0.004968, allocations: 31.95 kB / 0.6215 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.005096, allocations: 65.08 kB / 0.6216 GB, free: 8.762 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.005098, allocations: 4 kB / 0.6216 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001557/0.005253, allocations: 109.5 kB / 0.6217 GB, free: 8.645 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.005266, allocations: 4 kB / 0.6217 GB, free: 8.641 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.00527, allocations: 0 / 0.6217 GB, free: 8.641 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.005281, allocations: 0 / 0.6217 GB, free: 8.641 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.385e-05/0.005355, allocations: 19.98 kB / 0.6217 GB, free: 8.621 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.005359, allocations: 4 kB / 0.6217 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.321e-05/0.005402, allocations: 19.94 kB / 0.6218 GB, free: 8.598 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.005408, allocations: 0 / 0.6218 GB, free: 8.598 MB / 0.5417 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.635e-05/0.005464, allocations: 114.8 kB / 0.6219 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.005475, allocations: 3.938 kB / 0.6219 GB, free: 8.473 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.064e-05/0.005496, allocations: 8 kB / 0.6219 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.005498, allocations: 0 / 0.6219 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.005501, allocations: 4 kB / 0.6219 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.005504, allocations: 0 / 0.6219 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.005607, allocations: 136.7 kB / 0.622 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.005607, allocations: 4 kB / 0.622 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.788e-05/0.005645, allocations: 23.84 kB / 0.622 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.02e-07/0.005646, allocations: 0 / 0.622 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.005652, allocations: 7.938 kB / 0.622 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.005653, allocations: 0 / 0.622 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.005653, allocations: 0 / 0.622 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.005833, allocations: 195.4 kB / 0.6222 GB, free: 8.035 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.005841, allocations: 7.938 kB / 0.6222 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.005852, allocations: 0 / 0.6222 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.99e-05/0.005902, allocations: 19.97 kB / 0.6223 GB, free: 8.008 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.005933, allocations: 0 / 0.6223 GB, free: 8.008 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.005935, allocations: 0 / 0.6223 GB, free: 8.008 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.273e-05/0.005968, allocations: 91.27 kB / 0.6223 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.005968, allocations: 0 / 0.6223 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001359/0.006103, allocations: 4 kB / 0.6224 GB, free: 7.914 MB / 0.5417 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.0003427/0.006446, allocations: 0.7357 MB / 0.6231 GB, free: 7.152 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.006621, allocations: 67.92 kB / 0.6231 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.006622, allocations: 0 / 0.6231 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.914e-05/0.006691, allocations: 39.91 kB / 0.6232 GB, free: 7.047 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.00689, allocations: 4 kB / 0.6232 GB, free: 7.043 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.007457, allocations: 150.4 kB / 0.6233 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.1e-05/0.007498, allocations: 67.28 kB / 0.6234 GB, free: 6.77 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.408e-05/0.007522, allocations: 7.984 kB / 0.6234 GB, free: 6.762 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.007559, allocations: 16.5 kB / 0.6234 GB, free: 6.746 MB / 0.5417 GB Notification: Performance of SimCode: time 4.91e-07/0.00756, allocations: 0 / 0.6234 GB, free: 6.746 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01379/0.02135, allocations: 2.316 MB / 0.6257 GB, free: 4.582 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.67/6.691, allocations: 6.234 kB / 0.6257 GB, free: 4.582 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Average.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.479847569949925] Failed to read output from testmodel.py, exit status != 0: 6.769963625818491 6.78138911 6.776248335 Calling exit ...