Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.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.0007006/0.0007006, allocations: 101.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.0008308/0.0008308, allocations: 212 kB / 22.25 MB, free: 3.578 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.9328/0.9328, allocations: 230.6 MB / 256 MB, free: 9.594 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.8021/0.8021, allocations: 203.5 MB / 0.5039 GB, free: 10.72 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.MultiMax,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax",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.001071/0.001071, allocations: 69.09 kB / 0.7178 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5285/0.5296, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001476/0.531, allocations: 0.6413 MB / 0.8181 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001637/0.5312, allocations: 13.41 kB / 0.8181 GB, free: 0.8359 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.092e-05/0.5313, allocations: 4 kB / 0.8181 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.5314, allocations: 4.781 kB / 0.8181 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.799e-05/0.5314, allocations: 0.8438 kB / 0.8181 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 8.234e-05/0.5315, allocations: 3.75 kB / 0.8181 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.817e-05/0.5316, allocations: 24.94 kB / 0.8181 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.5317, allocations: 25.41 kB / 0.8181 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.662e-05/0.5318, allocations: 11.83 kB / 0.8181 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.346e-05/0.5318, allocations: 19.67 kB / 0.8182 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.5318, allocations: 1.688 kB / 0.8182 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.5318, allocations: 4.969 kB / 0.8182 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.5319, allocations: 11.23 kB / 0.8182 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.638e-05/0.5319, allocations: 17.88 kB / 0.8182 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.532, allocations: 50.42 kB / 0.8182 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.532, allocations: 0 / 0.8182 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.874e-06/0.532, allocations: 0 / 0.8182 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.532, allocations: 0 / 0.8182 GB, free: 0.7539 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002915/0.5323, allocations: 276.9 kB / 0.8185 GB, free: 484 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5323, allocations: 10.25 kB / 0.8185 GB, free: 484 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.779e-05/0.5324, allocations: 42 kB / 0.8185 GB, free: 436 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.552e-05/0.5324, allocations: 10.52 kB / 0.8186 GB, free: 432 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.5325, allocations: 115.9 kB / 0.8187 GB, free: 300 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.5325, allocations: 10.94 kB / 0.8187 GB, free: 292 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.5325, allocations: 2.5 kB / 0.8187 GB, free: 292 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.5327, allocations: 79.23 kB / 0.8188 GB, free: 248 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.5327, allocations: 11.88 kB / 0.8188 GB, free: 236 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.5327, allocations: 4 kB / 0.8188 GB, free: 232 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5327, allocations: 3.688 kB / 0.8188 GB, free: 232 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.188e-05/0.5328, allocations: 48.28 kB / 0.8188 GB, free: 220 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.5332, allocations: 456 kB / 0.8193 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.678e-05/0.5333, allocations: 168.6 kB / 0.8194 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.5336, allocations: 80.14 kB / 0.8195 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.5336, allocations: 79.09 kB / 0.8196 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.5336, allocations: 110.5 kB / 0.8197 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.5336, allocations: 112 / 0.8197 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.67e-05/0.5337, allocations: 45.42 kB / 0.8197 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.5337, allocations: 131.2 kB / 0.8198 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.5339, allocations: 176.8 kB / 0.82 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.5339, allocations: 25.7 kB / 0.82 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.5339, allocations: 93.17 kB / 0.8201 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-06/0.534, allocations: 2 kB / 0.8201 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.534, allocations: 12.31 kB / 0.8201 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.5341, allocations: 322.9 kB / 0.8204 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.5341, allocations: 11.47 kB / 0.8205 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.172e-05/0.5341, allocations: 6.531 kB / 0.8205 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.729e-05/0.5341, allocations: 15.44 kB / 0.8205 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5341, allocations: 0.7031 kB / 0.8205 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001059/0.5342, allocations: 58 kB / 0.8205 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.5343, allocations: 7.469 kB / 0.8205 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.5343, allocations: 0 / 0.8205 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.5343, allocations: 0 / 0.8205 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.5343, allocations: 5.969 kB / 0.8205 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.5343, allocations: 4.891 kB / 0.8206 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.678e-05/0.5344, allocations: 6.531 kB / 0.8206 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.5344, allocations: 0.6562 kB / 0.8206 GB, free: 14.52 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 (1): * Single equations (assignments): 1 * 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 7.43e-05/0.5344, allocations: 193.8 kB / 0.8207 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.5345, allocations: 109.5 kB / 0.8209 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/0.5345, allocations: 118 kB / 0.821 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.292e-05/0.5346, allocations: 187 kB / 0.8211 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-05/0.5346, allocations: 184.9 kB / 0.8213 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.25e-05/0.5347, allocations: 181 kB / 0.8215 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.5348, allocations: 392.6 kB / 0.8219 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.386e-05/0.5348, allocations: 105.6 kB / 0.822 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.5349, allocations: 108.3 kB / 0.8221 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-05/0.5349, allocations: 182.6 kB / 0.8222 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.674e-05/0.5349, allocations: 177.2 kB / 0.8224 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-05/0.535, allocations: 187 kB / 0.8226 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-05/0.535, allocations: 177 kB / 0.8228 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.725e-05/0.5351, allocations: 313.2 kB / 0.8231 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.5352, allocations: 115 kB / 0.8232 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.5352, allocations: 182.7 kB / 0.8233 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.245e-05/0.5353, allocations: 119.3 kB / 0.8235 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.5353, allocations: 181.5 kB / 0.8236 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.5354, allocations: 109.4 kB / 0.8237 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.599e-05/0.5355, allocations: 131.6 kB / 0.8239 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5355, allocations: 0 / 0.8239 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001476/0.5356, allocations: 3.688 kB / 0.8239 GB, free: 11.05 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 (0): * Single equations (assignments): 0 * 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.0003215/0.5359, allocations: 0.804 MB / 0.8246 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.141e-05/0.536, allocations: 13.14 kB / 0.8247 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.536, allocations: 0 / 0.8247 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.21e-07/0.536, allocations: 0 / 0.8247 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.5364, allocations: 469.2 kB / 0.8251 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.5376, allocations: 1.608 MB / 0.8267 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.279e-05/0.5377, allocations: 81.58 kB / 0.8268 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.5377, allocations: 4.969 kB / 0.8268 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/0.5378, allocations: 20.33 kB / 0.8268 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of SimCode: time 1.303e-06/0.5378, allocations: 0 / 0.8268 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.5562, allocations: 2.149 MB / 0.8289 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.774/7.33, allocations: 12.3 kB / 0.8289 GB, free: 7.43 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax_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_MultiMax.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.31730012781918] Failed to read output from testmodel.py, exit status != 0: 7.407314145006239 7.419961037 6.885900278 Calling exit ...