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.0006609/0.0006609, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.0008255/0.0008255, allocations: 212.1 kB / 22.25 MB, free: 3.586 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 1/1, allocations: 230.6 MB / 256 MB, free: 9.617 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.787/0.787, allocations: 203.5 MB / 0.5039 GB, free: 10.78 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.0009687/0.0009687, allocations: 66.03 kB / 0.7178 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5451/0.5461, allocations: 102 MB / 0.8174 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001775/0.5479, allocations: 0.825 MB / 0.8182 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009143/0.5488, allocations: 0.9053 MB / 0.8191 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.5489, allocations: 5.125 kB / 0.8191 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.549, allocations: 18.86 kB / 0.8191 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.5492, allocations: 26.39 kB / 0.8192 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.5493, allocations: 44.06 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.5495, allocations: 136.1 kB / 0.8193 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.5497, allocations: 43.08 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.866e-05/0.5498, allocations: 56.34 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.55, allocations: 86.33 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.55, allocations: 11.66 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.619e-05/0.55, allocations: 13.34 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.296e-05/0.5501, allocations: 48.14 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.632e-05/0.5501, allocations: 49.83 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.5503, allocations: 170.3 kB / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5504, allocations: 0 / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5504, allocations: 5.594 kB / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.5504, allocations: 4 kB / 0.8198 GB, free: 15.71 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.0006757/0.551, allocations: 445.5 kB / 0.8202 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.5511, allocations: 11 kB / 0.8202 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.224e-05/0.5511, allocations: 43.09 kB / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.5512, allocations: 25.08 kB / 0.8203 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.5513, allocations: 160.6 kB / 0.8205 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.5514, allocations: 7.281 kB / 0.8205 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.5514, allocations: 7.312 kB / 0.8205 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.5518, allocations: 176.5 kB / 0.8206 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.5518, allocations: 7.875 kB / 0.8206 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.5518, allocations: 7.766 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.5518, allocations: 4 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004523/0.5522, allocations: 220.4 kB / 0.8209 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007477/0.553, allocations: 465.9 kB / 0.8213 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.5533, allocations: 145.4 kB / 0.8215 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.5535, allocations: 112.9 kB / 0.8216 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.5535, allocations: 7.938 kB / 0.8216 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.5535, allocations: 39.94 kB / 0.8216 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.5535, allocations: 0 / 0.8216 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0007072/0.5542, allocations: 363.8 kB / 0.822 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.5542, allocations: 55.34 kB / 0.822 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.5544, allocations: 180.7 kB / 0.8222 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.5544, allocations: 25.7 kB / 0.8222 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.122e-05/0.5545, allocations: 126 kB / 0.8223 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.5545, allocations: 29.12 kB / 0.8224 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.5545, allocations: 25.47 kB / 0.8224 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.5546, allocations: 327.2 kB / 0.8227 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.5548, allocations: 101.7 kB / 0.8228 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.5551, allocations: 105.9 kB / 0.8229 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004304/0.5555, allocations: 211.6 kB / 0.8231 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.5555, allocations: 0.6562 kB / 0.8231 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004922/0.556, allocations: 264.3 kB / 0.8233 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.556, allocations: 5.531 kB / 0.8233 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.556, allocations: 4.656 kB / 0.8233 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.556, allocations: 1.25 kB / 0.8234 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.5562, allocations: 45 kB / 0.8234 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.5562, allocations: 5.344 kB / 0.8234 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.5563, allocations: 30.95 kB / 0.8234 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.5563, allocations: 6.156 kB / 0.8234 GB, free: 13.62 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 9.531e-05/0.5564, allocations: 128.4 kB / 0.8236 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.5564, allocations: 18.12 kB / 0.8236 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.5565, allocations: 20.17 kB / 0.8236 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5565, allocations: 1.25 kB / 0.8236 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.5565, allocations: 4.594 kB / 0.8236 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5565, allocations: 2 kB / 0.8236 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.5567, allocations: 210.5 kB / 0.8238 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5567, allocations: 0 / 0.8238 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.5568, allocations: 50.64 kB / 0.8239 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5568, allocations: 1.344 kB / 0.8239 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.5568, allocations: 0 / 0.8239 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5568, allocations: 1.344 kB / 0.8239 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5568, allocations: 12.42 kB / 0.8239 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005176/0.5574, allocations: 347.9 kB / 0.8242 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.5574, allocations: 12.58 kB / 0.8242 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.5574, allocations: 5.438 kB / 0.8242 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.5575, allocations: 33.97 kB / 0.8242 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.5576, allocations: 18.56 kB / 0.8243 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.5576, allocations: 1.094 kB / 0.8243 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.403e-05/0.5576, allocations: 142.4 kB / 0.8244 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5576, allocations: 192 / 0.8244 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001595/0.5578, allocations: 30.45 kB / 0.8244 GB, free: 12.95 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.0007034/0.5585, allocations: 0.8902 MB / 0.8253 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005182/0.559, allocations: 221.6 kB / 0.8255 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.559, allocations: 0 / 0.8255 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.5593, allocations: 109.1 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.0002594/0.5595, allocations: 41.98 kB / 0.8257 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.5619, allocations: 2.14 MB / 0.8277 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.562, allocations: 111.4 kB / 0.8279 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.411e-05/0.5621, allocations: 29.17 kB / 0.8279 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.677e-05/0.5621, allocations: 41.62 kB / 0.8279 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of SimCode: time 8.02e-07/0.5621, allocations: 0 / 0.8279 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.5812, allocations: 4.342 MB / 0.8322 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.068/7.649, allocations: 11.31 kB / 0.8322 GB, free: 9.547 MB / 0.6198 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.681044980417937] Failed to read output from testmodel.py, exit status != 0: 7.727343952283263 7.738198775 7.185921419 Calling exit ...