Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0008204/0.0008204, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008319/0.0008319, allocations: 169.9 kB / 23.21 MB, free: 1.359 MB / 18.57 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.9154/0.9154, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6028/0.6028, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.286e-06/3.286e-06, allocations: 0 / 0.5542 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.629e-05, allocations: 9.781 kB / 0.5542 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001867/0.001893, allocations: 0.7945 MB / 0.555 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.003264, allocations: 0.9287 MB / 0.5559 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.003343, allocations: 0 / 0.5559 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.003465, allocations: 11.86 kB / 0.5559 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.003587, allocations: 19.8 kB / 0.5559 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.003808, allocations: 59.86 kB / 0.556 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.00397, allocations: 127.7 kB / 0.5561 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.004145, allocations: 33.27 kB / 0.5561 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.004262, allocations: 71.83 kB / 0.5562 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.004412, allocations: 67.84 kB / 0.5563 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 4.127e-05/0.004453, allocations: 19.98 kB / 0.5563 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 2.031e-05/0.004473, allocations: 12 kB / 0.5563 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.004537, allocations: 31.91 kB / 0.5563 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.334e-05/0.00459, allocations: 35.89 kB / 0.5564 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.004794, allocations: 159.4 kB / 0.5565 GB, free: 392 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.004798, allocations: 0 / 0.5565 GB, free: 392 kB / 0.5105 GB Notification: Performance of FrontEnd: time 2.044e-06/0.0048, allocations: 3.938 kB / 0.5565 GB, free: 388 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.004806, allocations: 0 / 0.5565 GB, free: 388 kB / 0.5105 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.0007846/0.00559, allocations: 369.9 kB / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.005645, allocations: 8.625 kB / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.00569, allocations: 38.69 kB / 0.5569 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.005736, allocations: 16.84 kB / 0.5569 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.005953, allocations: 163.5 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.005978, allocations: 8.375 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.005999, allocations: 8.125 kB / 0.5571 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.006321, allocations: 149.5 kB / 0.5572 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.006329, allocations: 0 / 0.5572 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.006343, allocations: 4 kB / 0.5572 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.006351, allocations: 4 kB / 0.5572 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003479/0.006699, allocations: 155.8 kB / 0.5574 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005378/0.007237, allocations: 363.6 kB / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/0.007737, allocations: 166.4 kB / 0.5579 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.007891, allocations: 80.95 kB / 0.558 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.007918, allocations: 8 kB / 0.558 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.00794, allocations: 30.56 kB / 0.558 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 3.156e-06/0.007943, allocations: 0 / 0.558 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0005844/0.008528, allocations: 285.4 kB / 0.5583 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.008569, allocations: 55.41 kB / 0.5583 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.008682, allocations: 149 kB / 0.5585 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.008701, allocations: 33.7 kB / 0.5585 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.937e-05/0.00876, allocations: 104.1 kB / 0.5586 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.008788, allocations: 23.75 kB / 0.5586 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.00884, allocations: 37.64 kB / 0.5587 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.196e-05/0.008932, allocations: 322.8 kB / 0.559 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.009098, allocations: 71.92 kB / 0.5591 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.009325, allocations: 80.23 kB / 0.5591 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.009601, allocations: 152.7 kB / 0.5593 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.009603, allocations: 0 / 0.5593 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003426/0.009946, allocations: 213.4 kB / 0.5595 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.009965, allocations: 7.938 kB / 0.5595 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.009971, allocations: 0 / 0.5595 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.009986, allocations: 0 / 0.5595 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.01013, allocations: 39.89 kB / 0.5595 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.01014, allocations: 3.938 kB / 0.5595 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.96e-05/0.01022, allocations: 27.97 kB / 0.5596 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.01023, allocations: 7.984 kB / 0.5596 GB, free: 13.06 MB / 0.5261 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 0.0001006/0.01033, allocations: 117.8 kB / 0.5597 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.01036, allocations: 7.953 kB / 0.5597 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.0104, allocations: 16.72 kB / 0.5597 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.0104, allocations: 4 kB / 0.5597 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.01041, allocations: 3.984 kB / 0.5597 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01041, allocations: 0 / 0.5597 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.0106, allocations: 192.6 kB / 0.5599 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.0106, allocations: 7.984 kB / 0.5599 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.01073, allocations: 39.94 kB / 0.5599 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01073, allocations: 0 / 0.5599 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.01075, allocations: 3.938 kB / 0.5599 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.01075, allocations: 4 kB / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01075, allocations: 0 / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004054/0.01116, allocations: 307.5 kB / 0.5602 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.01118, allocations: 7.906 kB / 0.5602 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.0112, allocations: 11.94 kB / 0.5603 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.888e-05/0.01129, allocations: 19.97 kB / 0.5603 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.305e-05/0.01139, allocations: 35.89 kB / 0.5603 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.0114, allocations: 7.984 kB / 0.5603 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.454e-05/0.01147, allocations: 113.5 kB / 0.5604 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01147, allocations: 0 / 0.5604 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001882/0.01166, allocations: 24 kB / 0.5604 GB, free: 12.08 MB / 0.5261 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.000669/0.01233, allocations: 0.8356 MB / 0.5613 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000349/0.01268, allocations: 171.8 kB / 0.5614 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01268, allocations: 0 / 0.5614 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.01284, allocations: 95.84 kB / 0.5615 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.01307, allocations: 16 kB / 0.5615 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.01495, allocations: 1.854 MB / 0.5633 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.6e-05/0.01502, allocations: 93.11 kB / 0.5634 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.309e-05/0.01509, allocations: 28.48 kB / 0.5635 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.895e-05/0.01518, allocations: 48.47 kB / 0.5635 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of SimCode: time 7.42e-07/0.01518, allocations: 0 / 0.5635 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.03509, allocations: 4.679 MB / 0.5681 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.741/6.776, allocations: 15.48 kB / 0.5681 GB, free: 4.305 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.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 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.48945361096412] Failed to read output from testmodel.py, exit status != 0: 6.860618359409273 6.871488665 6.86437398 Calling exit ...