Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008388/0.0008388, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001017/0.001017, allocations: 210.6 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.9801/0.9801, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.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.7877/0.7877, allocations: 203.8 MB / 0.5042 GB, free: 10.42 MB / 410.7 MB " [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.MultiSum,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="IDEAS_dev_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.001023/0.001023, allocations: 64.89 kB / 0.7182 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5439/0.5449, allocations: 102 MB / 0.8178 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001763/0.5467, allocations: 0.8401 MB / 0.8187 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009618/0.5477, allocations: 0.9099 MB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.028e-05/0.5477, allocations: 2.781 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.5478, allocations: 15.28 kB / 0.8196 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.548, allocations: 30 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.5481, allocations: 39.69 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.5483, allocations: 140.3 kB / 0.8198 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.5484, allocations: 43.22 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.311e-05/0.5485, allocations: 53.75 kB / 0.8199 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.5487, allocations: 81.42 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.5487, allocations: 12.59 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.037e-05/0.5487, allocations: 19.41 kB / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.374e-05/0.5488, allocations: 44.19 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.806e-05/0.5488, allocations: 61.09 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.5491, allocations: 164.7 kB / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.5491, allocations: 0 / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.825e-06/0.5491, allocations: 4.938 kB / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.5491, allocations: 0 / 0.8202 GB, free: 15.53 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.0007747/0.5499, allocations: 447.8 kB / 0.8207 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.5499, allocations: 8.391 kB / 0.8207 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.355e-05/0.55, allocations: 44.53 kB / 0.8207 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.55, allocations: 21.33 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.5502, allocations: 155.8 kB / 0.8209 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.5502, allocations: 9.062 kB / 0.8209 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.5502, allocations: 14.91 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.5505, allocations: 181.8 kB / 0.8211 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.5505, allocations: 3.938 kB / 0.8211 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.5506, allocations: 4 kB / 0.8211 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.5506, allocations: 0.5156 kB / 0.8211 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004235/0.551, allocations: 221.2 kB / 0.8213 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006719/0.5517, allocations: 469.4 kB / 0.8217 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.5519, allocations: 142.4 kB / 0.8219 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.5521, allocations: 121.2 kB / 0.822 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.5521, allocations: 5.25 kB / 0.822 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.5522, allocations: 35.25 kB / 0.822 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.675e-06/0.5522, allocations: 0 / 0.822 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0007639/0.5529, allocations: 359.4 kB / 0.8224 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.553, allocations: 57.59 kB / 0.8224 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.5531, allocations: 176.3 kB / 0.8226 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.5531, allocations: 29.7 kB / 0.8226 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.76e-05/0.5532, allocations: 128.7 kB / 0.8227 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.5532, allocations: 30.09 kB / 0.8228 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.5533, allocations: 23.66 kB / 0.8228 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.278e-05/0.5534, allocations: 324.9 kB / 0.8231 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.5536, allocations: 98.84 kB / 0.8232 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.5538, allocations: 109.2 kB / 0.8233 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.5542, allocations: 217.9 kB / 0.8235 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5542, allocations: 0 / 0.8235 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004657/0.5547, allocations: 262 kB / 0.8238 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.5547, allocations: 6.5 kB / 0.8238 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.5547, allocations: 0.7031 kB / 0.8238 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.5547, allocations: 0 / 0.8238 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.5549, allocations: 42.88 kB / 0.8238 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.5549, allocations: 3.938 kB / 0.8238 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.555, allocations: 39.44 kB / 0.8238 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.555, allocations: 2.562 kB / 0.8238 GB, free: 13.44 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.251e-05/0.5551, allocations: 127.5 kB / 0.824 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.5551, allocations: 13.94 kB / 0.824 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.5551, allocations: 20.52 kB / 0.824 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.5551, allocations: 5.281 kB / 0.824 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.5551, allocations: 3.938 kB / 0.824 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.5551, allocations: 1.703 kB / 0.824 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.5553, allocations: 211 kB / 0.8242 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5553, allocations: 5.125 kB / 0.8242 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.5555, allocations: 42.22 kB / 0.8243 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5555, allocations: 1.125 kB / 0.8243 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.5555, allocations: 0 / 0.8243 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5555, allocations: 2.641 kB / 0.8243 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.5555, allocations: 7.875 kB / 0.8243 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005072/0.556, allocations: 358.6 kB / 0.8246 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.556, allocations: 12.88 kB / 0.8246 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.556, allocations: 1.906 kB / 0.8246 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.5562, allocations: 35.41 kB / 0.8247 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.5562, allocations: 17.05 kB / 0.8247 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.5562, allocations: 6.078 kB / 0.8247 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.292e-05/0.5563, allocations: 132.9 kB / 0.8248 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5563, allocations: 1.125 kB / 0.8248 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001702/0.5565, allocations: 30.42 kB / 0.8248 GB, free: 12.78 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.0007541/0.5572, allocations: 0.8858 MB / 0.8257 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004786/0.5577, allocations: 221.7 kB / 0.8259 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5577, allocations: 0 / 0.8259 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.5579, allocations: 121.5 kB / 0.826 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.5582, allocations: 30.77 kB / 0.8261 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.5605, allocations: 2.135 MB / 0.8281 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.898e-05/0.5605, allocations: 120.9 kB / 0.8283 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.632e-05/0.5606, allocations: 24.58 kB / 0.8283 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.632e-05/0.5607, allocations: 40.28 kB / 0.8283 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.5607, allocations: 0 / 0.8283 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.5827, allocations: 4.352 MB / 0.8326 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.634/7.216, allocations: 5.062 kB / 0.8326 GB, free: 9.371 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.24673228804022] Failed to read output from testmodel.py, exit status != 0: 7.297356326133013 7.307441063 6.756348665 Calling exit ...