Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.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.001026/0.001026, 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.0007801/0.0007801, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9878/0.9878, allocations: 230.6 MB / 256 MB, free: 9.598 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.7973/0.7973, 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.MultiSum,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiSum",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.001188/0.001188, allocations: 74.33 kB / 0.7178 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5599/0.5611, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.0022/0.5633, allocations: 0.8371 MB / 0.8182 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.5644, allocations: 0.9045 MB / 0.8191 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.624e-05/0.5645, allocations: 5.562 kB / 0.8191 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.5646, allocations: 21.28 kB / 0.8192 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.5648, allocations: 26.2 kB / 0.8192 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.565, allocations: 40.25 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.5652, allocations: 134 kB / 0.8193 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.5653, allocations: 44.25 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.5655, allocations: 63.53 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.5656, allocations: 79.62 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.5656, allocations: 13.31 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.066e-05/0.5657, allocations: 11.38 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.096e-05/0.5657, allocations: 45.17 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.051e-05/0.5658, allocations: 53.86 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.5661, allocations: 171.6 kB / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.5661, allocations: 3.938 kB / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5661, allocations: 0 / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.5661, allocations: 0 / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001086/0.5672, allocations: 446.8 kB / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.924e-05/0.5672, allocations: 9.781 kB / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.052e-05/0.5673, allocations: 43.56 kB / 0.8203 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.789e-05/0.5674, allocations: 20.14 kB / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.5676, allocations: 163 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.5677, allocations: 6.094 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.5677, allocations: 7.688 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005246/0.5682, allocations: 180.6 kB / 0.8206 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.5682, allocations: 3.938 kB / 0.8206 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.5682, allocations: 9.062 kB / 0.8207 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.5682, allocations: 6.688 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005939/0.5688, allocations: 216.5 kB / 0.8209 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008954/0.5697, allocations: 465.2 kB / 0.8213 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.5701, allocations: 145.1 kB / 0.8215 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.5704, allocations: 113.4 kB / 0.8216 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.5704, allocations: 1.312 kB / 0.8216 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.5704, allocations: 38.89 kB / 0.8216 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 3.646e-06/0.5704, allocations: 4.188 kB / 0.8216 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0008748/0.5713, allocations: 363.5 kB / 0.8219 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.5713, allocations: 63.28 kB / 0.822 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.5715, allocations: 174.8 kB / 0.8222 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.5715, allocations: 27.44 kB / 0.8222 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.5716, allocations: 125 kB / 0.8223 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.5716, allocations: 29.61 kB / 0.8223 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.5716, allocations: 26.3 kB / 0.8224 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.783e-05/0.5717, allocations: 322.8 kB / 0.8227 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.5719, allocations: 106.2 kB / 0.8228 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.5721, allocations: 100.7 kB / 0.8229 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/0.5726, allocations: 218.4 kB / 0.8231 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5726, allocations: 1.156 kB / 0.8231 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004577/0.573, allocations: 258 kB / 0.8233 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.573, allocations: 4.875 kB / 0.8233 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.573, allocations: 0.6094 kB / 0.8233 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.573, allocations: 6.219 kB / 0.8233 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.5732, allocations: 44.2 kB / 0.8234 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.5732, allocations: 10.52 kB / 0.8234 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.886e-05/0.5733, allocations: 30.66 kB / 0.8234 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.5733, allocations: 1.156 kB / 0.8234 GB, free: 13.63 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 (9): * Single equations (assignments): 9 * 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 8.734e-05/0.5734, allocations: 132.2 kB / 0.8236 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.5734, allocations: 15.02 kB / 0.8236 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.5735, allocations: 23.25 kB / 0.8236 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.5735, allocations: 2.062 kB / 0.8236 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5735, allocations: 7.875 kB / 0.8236 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5735, allocations: 1.953 kB / 0.8236 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.5737, allocations: 211 kB / 0.8238 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5737, allocations: 0 / 0.8238 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.5738, allocations: 46.94 kB / 0.8238 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.5738, allocations: 5.625 kB / 0.8239 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.5738, allocations: 3.938 kB / 0.8239 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.5738, allocations: 4.594 kB / 0.8239 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.5738, allocations: 4.938 kB / 0.8239 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005163/0.5744, allocations: 352.3 kB / 0.8242 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.5744, allocations: 11.94 kB / 0.8242 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.5744, allocations: 6.078 kB / 0.8242 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.5745, allocations: 30.55 kB / 0.8242 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.988e-05/0.5746, allocations: 17.89 kB / 0.8243 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.5746, allocations: 1.375 kB / 0.8243 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.686e-05/0.5747, allocations: 138.4 kB / 0.8244 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5747, allocations: 4 kB / 0.8244 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001736/0.5749, allocations: 30.45 kB / 0.8244 GB, free: 12.96 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 (9): * Single equations (assignments): 9 * 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.0007173/0.5756, allocations: 0.8847 MB / 0.8253 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004831/0.5761, allocations: 223.3 kB / 0.8255 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5761, allocations: 192 / 0.8255 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.5763, allocations: 116.6 kB / 0.8256 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.5766, allocations: 29.36 kB / 0.8256 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.5789, allocations: 2.137 MB / 0.8277 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.939e-05/0.579, allocations: 111.7 kB / 0.8278 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.165e-05/0.5791, allocations: 24.19 kB / 0.8279 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.568e-05/0.5792, allocations: 41.52 kB / 0.8279 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of SimCode: time 7.62e-07/0.5792, allocations: 0 / 0.8279 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.5998, allocations: 4.361 MB / 0.8322 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.688/7.288, allocations: 9.625 kB / 0.8322 GB, free: 9.551 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum_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_MultiSum.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.413923505693674] Failed to read output from testmodel.py, exit status != 0: 7.366473327856511 7.377192393 6.808930547 Calling exit ...