Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.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.0008741/0.0008741, 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.0008754/0.0008754, 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 1.007/1.007, 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.8172/0.8172, allocations: 203.5 MB / 0.5039 GB, free: 10.71 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.Integers.Validation.MultiSum,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_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.001877/0.001877, allocations: 73.92 kB / 0.7178 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6683/0.6702, allocations: 102 MB / 0.8174 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002062/0.6722, allocations: 0.8136 MB / 0.8182 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.6735, allocations: 0.9175 MB / 0.8191 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.507e-05/0.6736, allocations: 1.312 kB / 0.8191 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.6738, allocations: 13.92 kB / 0.8191 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.6739, allocations: 26.48 kB / 0.8191 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.6742, allocations: 64.17 kB / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.6745, allocations: 124.6 kB / 0.8193 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.6747, allocations: 33.8 kB / 0.8193 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.6748, allocations: 58.75 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.6751, allocations: 75.08 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.6751, allocations: 12.31 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.617e-05/0.6751, allocations: 10.62 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.16e-05/0.6752, allocations: 37.39 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.879e-05/0.6753, allocations: 48.97 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.6756, allocations: 147.7 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.6756, allocations: 3.938 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.075e-06/0.6756, allocations: 0 / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.6756, allocations: 0 / 0.8197 GB, free: 15.73 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009288/0.6766, allocations: 371.4 kB / 0.8201 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.089e-05/0.6766, allocations: 9.375 kB / 0.8201 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.739e-05/0.6767, allocations: 38.7 kB / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.6767, allocations: 21.41 kB / 0.8201 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.677, allocations: 148.6 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.677, allocations: 12.31 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.6771, allocations: 3.906 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.6775, allocations: 148.8 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.6775, allocations: 0 / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.6775, allocations: 4 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.6775, allocations: 4.5 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00039/0.6779, allocations: 157.5 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007618/0.6787, allocations: 358.5 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006335/0.6793, allocations: 170.2 kB / 0.8211 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.6795, allocations: 86.19 kB / 0.8212 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.6795, allocations: 6.344 kB / 0.8212 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.6795, allocations: 39.05 kB / 0.8212 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 3.687e-06/0.6795, allocations: 0 / 0.8212 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0006616/0.6802, allocations: 278.1 kB / 0.8215 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.6802, allocations: 55.28 kB / 0.8215 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.6804, allocations: 151.9 kB / 0.8217 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.6804, allocations: 25.7 kB / 0.8217 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.6805, allocations: 108.7 kB / 0.8218 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.6805, allocations: 33.16 kB / 0.8218 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.6805, allocations: 36.12 kB / 0.8219 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.6806, allocations: 322.3 kB / 0.8222 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.6808, allocations: 72.23 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.681, allocations: 78.77 kB / 0.8223 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.6813, allocations: 163.6 kB / 0.8225 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6813, allocations: 0 / 0.8225 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003999/0.6817, allocations: 205.4 kB / 0.8227 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.6817, allocations: 7.719 kB / 0.8227 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.6817, allocations: 0 / 0.8227 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.6817, allocations: 96 / 0.8227 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.6819, allocations: 39.41 kB / 0.8227 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.6819, allocations: 5.953 kB / 0.8227 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.875e-05/0.682, allocations: 22.59 kB / 0.8227 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.682, allocations: 8.312 kB / 0.8228 GB, free: 13.73 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: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.393e-05/0.6821, allocations: 124 kB / 0.8229 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.6821, allocations: 13.92 kB / 0.8229 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.6821, allocations: 14.92 kB / 0.8229 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.6821, allocations: 6.094 kB / 0.8229 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.6821, allocations: 0 / 0.8229 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.6822, allocations: 0.8906 kB / 0.8229 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.6824, allocations: 191.2 kB / 0.8231 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.6824, allocations: 4.5 kB / 0.8231 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.6825, allocations: 39.7 kB / 0.8231 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.6825, allocations: 1.344 kB / 0.8231 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.6825, allocations: 2.656 kB / 0.8231 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.6825, allocations: 0 / 0.8231 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6825, allocations: 1.719 kB / 0.8231 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.683, allocations: 302.3 kB / 0.8234 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.683, allocations: 20.73 kB / 0.8234 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.683, allocations: 1.281 kB / 0.8234 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.6832, allocations: 21.78 kB / 0.8235 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.6833, allocations: 32.16 kB / 0.8235 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.6833, allocations: 3.844 kB / 0.8235 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.357e-05/0.6834, allocations: 116.6 kB / 0.8236 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6834, allocations: 0 / 0.8236 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001973/0.6835, allocations: 27.55 kB / 0.8236 GB, free: 13.09 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0007976/0.6843, allocations: 0.8427 MB / 0.8245 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004596/0.6848, allocations: 172.6 kB / 0.8246 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6848, allocations: 0 / 0.8246 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.685, allocations: 95.47 kB / 0.8247 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.6853, allocations: 16.77 kB / 0.8247 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.6877, allocations: 1.851 MB / 0.8265 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.6878, allocations: 89.95 kB / 0.8266 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.6879, allocations: 21.08 kB / 0.8266 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.6881, allocations: 55.86 kB / 0.8267 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of SimCode: time 1.182e-06/0.6881, allocations: 3.938 kB / 0.8267 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02884/0.7169, allocations: 4.541 MB / 0.8311 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/8.974, allocations: 1.594 kB / 0.8311 GB, free: 9.777 MB / 0.6198 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.154172465205193] Failed to read output from testmodel.py, exit status != 0: 9.057170689105988 9.069331327 8.391269009 Calling exit ...