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.0008596/0.0008596, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001003/0.001003, allocations: 208.1 kB / 22.25 MB, free: 3.574 MB / 13.93 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.9599/0.9599, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.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.7911/0.7911, allocations: 203.5 MB / 0.5039 GB, free: 10.28 MB / 410.7 MB " [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: 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.001002/0.001002, allocations: 67.5 kB / 0.7178 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5182/0.5192, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001379/0.5205, allocations: 0.6894 MB / 0.8181 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006888/0.5212, allocations: 0.8331 MB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.054e-05/0.5213, allocations: 3.938 kB / 0.8189 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.5213, allocations: 6.375 kB / 0.8189 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.424e-05/0.5214, allocations: 9.281 kB / 0.8189 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.034e-05/0.5214, allocations: 8.969 kB / 0.8189 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.326e-05/0.5215, allocations: 44.39 kB / 0.819 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.5217, allocations: 8.781 kB / 0.819 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.614e-05/0.5217, allocations: 22.25 kB / 0.819 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.548e-05/0.5218, allocations: 17.22 kB / 0.819 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.5218, allocations: 4.125 kB / 0.819 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.371e-06/0.5218, allocations: 3.5 kB / 0.819 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.5218, allocations: 9.281 kB / 0.819 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.5218, allocations: 11.33 kB / 0.819 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.5219, allocations: 52.19 kB / 0.8191 GB, free: 76 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.522, allocations: 0 / 0.8191 GB, free: 76 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.375e-06/0.522, allocations: 2.406 kB / 0.8191 GB, free: 76 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.522, allocations: 4 kB / 0.8191 GB, free: 72 kB / 0.6042 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.0004514/0.5224, allocations: 289.5 kB / 0.8194 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.5225, allocations: 11.16 kB / 0.8194 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.5225, allocations: 31.92 kB / 0.8194 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.5225, allocations: 7.609 kB / 0.8194 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.305e-05/0.5226, allocations: 108 kB / 0.8195 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.5226, allocations: 384 / 0.8195 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.5226, allocations: 2.312 kB / 0.8195 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.5228, allocations: 72.05 kB / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.5228, allocations: 5.031 kB / 0.8196 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.5228, allocations: 0 / 0.8196 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.5228, allocations: 1.312 kB / 0.8196 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.523, allocations: 68.77 kB / 0.8197 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.5234, allocations: 234.3 kB / 0.8199 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.5235, allocations: 53.88 kB / 0.82 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.264e-05/0.5236, allocations: 36.5 kB / 0.82 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.5236, allocations: 2.219 kB / 0.82 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.5236, allocations: 39.22 kB / 0.82 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.5236, allocations: 0 / 0.82 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003252/0.5239, allocations: 128.1 kB / 0.8201 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.524, allocations: 53.7 kB / 0.8202 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.703e-05/0.524, allocations: 107.6 kB / 0.8203 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.524, allocations: 25.7 kB / 0.8203 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.5241, allocations: 91.22 kB / 0.8204 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.5241, allocations: 10.19 kB / 0.8204 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.5241, allocations: 20.77 kB / 0.8204 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.539e-05/0.5242, allocations: 314.4 kB / 0.8207 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.968e-05/0.5243, allocations: 40.67 kB / 0.8208 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.14e-05/0.5244, allocations: 34.11 kB / 0.8208 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.5245, allocations: 71.25 kB / 0.8209 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5245, allocations: 0 / 0.8209 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001743/0.5247, allocations: 101.4 kB / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.5247, allocations: 4.812 kB / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5247, allocations: 4.5 kB / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.5247, allocations: 0 / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.228e-05/0.5248, allocations: 15.06 kB / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.5248, allocations: 0 / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.018e-05/0.5248, allocations: 17.44 kB / 0.821 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.5248, allocations: 2.859 kB / 0.821 GB, free: 14.45 MB / 0.6198 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 6.081e-05/0.5249, allocations: 116 kB / 0.8211 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.5249, allocations: 5.516 kB / 0.8211 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.186e-05/0.5249, allocations: 12.8 kB / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.5249, allocations: 0 / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5249, allocations: 0 / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.5249, allocations: 0.7031 kB / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.5251, allocations: 141.4 kB / 0.8213 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5251, allocations: 0.6562 kB / 0.8213 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.736e-05/0.5251, allocations: 19.39 kB / 0.8213 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.5251, allocations: 0.6094 kB / 0.8213 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.5251, allocations: 4 kB / 0.8213 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5251, allocations: 1.125 kB / 0.8213 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5251, allocations: 0.5156 kB / 0.8213 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.5253, allocations: 190 kB / 0.8215 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.5253, allocations: 13.2 kB / 0.8215 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.5253, allocations: 0.6094 kB / 0.8215 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.283e-05/0.5254, allocations: 14.55 kB / 0.8215 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.5254, allocations: 7.406 kB / 0.8215 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.5254, allocations: 2.016 kB / 0.8215 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.957e-05/0.5255, allocations: 86.72 kB / 0.8216 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5255, allocations: 0 / 0.8216 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001381/0.5256, allocations: 7.062 kB / 0.8216 GB, free: 13.91 MB / 0.6198 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.0004278/0.526, allocations: 0.729 MB / 0.8223 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.5263, allocations: 71.7 kB / 0.8224 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5263, allocations: 3.938 kB / 0.8224 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.451e-05/0.5263, allocations: 38.88 kB / 0.8224 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.5266, allocations: 11.12 kB / 0.8224 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.527, allocations: 159.6 kB / 0.8226 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.82e-05/0.5271, allocations: 64.12 kB / 0.8227 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.909e-05/0.5271, allocations: 1.188 kB / 0.8227 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.5272, allocations: 25.59 kB / 0.8227 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.5272, allocations: 0 / 0.8227 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.5426, allocations: 2.178 MB / 0.8248 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.614/7.157, allocations: 4.359 kB / 0.8248 GB, free: 12.09 MB / 0.6198 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: 10.178320679813623] Failed to read output from testmodel.py, exit status != 0: 7.235359979793429 7.252088041 6.726300295 Calling exit ...