Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.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.0007178/0.0007178, allocations: 76.55 kB / 19.92 MB, free: 4.637 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.0009359/0.0009359, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8788/0.8788, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.5538/0.5538, allocations: 114 MB / 373.9 MB, free: 8.688 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.Utilities.Math.Examples.Splice,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.73e-05, allocations: 6.281 kB / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.002987/0.003005, allocations: 1.501 MB / 0.5557 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.004355, allocations: 0.6894 MB / 0.5563 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.029e-05/0.004435, allocations: 0 / 0.5563 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.735e-05/0.004473, allocations: 3.938 kB / 0.5563 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.6e-05/0.004529, allocations: 11.88 kB / 0.5564 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004634/0.004992, allocations: 99.52 kB / 0.5564 GB, free: 456 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.005104, allocations: 35.86 kB / 0.5565 GB, free: 420 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.005216, allocations: 19.97 kB / 0.5565 GB, free: 400 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.005346, allocations: 19.98 kB / 0.5565 GB, free: 380 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.415e-05/0.0054, allocations: 15.92 kB / 0.5565 GB, free: 364 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.005416, allocations: 4 kB / 0.5565 GB, free: 360 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.005629, allocations: 111.8 kB / 0.5566 GB, free: 248 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.005648, allocations: 15.97 kB / 0.5567 GB, free: 232 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.005673, allocations: 11.94 kB / 0.5567 GB, free: 220 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.005886, allocations: 111.7 kB / 0.5568 GB, free: 108 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005888, allocations: 0 / 0.5568 GB, free: 108 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.453e-06/0.00589, allocations: 0 / 0.5568 GB, free: 108 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.005894, allocations: 0 / 0.5568 GB, free: 108 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004377/0.006331, allocations: 298 kB / 0.5571 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.006377, allocations: 8.625 kB / 0.5571 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.149e-05/0.006408, allocations: 38.75 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.006518, allocations: 16.92 kB / 0.5571 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.006665, allocations: 117.7 kB / 0.5572 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.006675, allocations: 4.375 kB / 0.5572 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.006682, allocations: 384 / 0.5572 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.006803, allocations: 54.19 kB / 0.5573 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.006812, allocations: 192 / 0.5573 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.006822, allocations: 12.12 kB / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.006827, allocations: 0 / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.44e-05/0.006881, allocations: 27.92 kB / 0.5573 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.007163, allocations: 247.8 kB / 0.5576 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.593e-05/0.007229, allocations: 38.5 kB / 0.5576 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/0.007258, allocations: 12.92 kB / 0.5576 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.007422, allocations: 43.95 kB / 0.5577 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.007442, allocations: 34.56 kB / 0.5577 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.007443, allocations: 0 / 0.5577 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001796/0.007623, allocations: 65.62 kB / 0.5578 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.00765, allocations: 55.34 kB / 0.5578 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.356e-05/0.007724, allocations: 126.1 kB / 0.5579 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.007733, allocations: 25.7 kB / 0.558 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/0.00777, allocations: 88.12 kB / 0.558 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.007787, allocations: 7.953 kB / 0.558 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.007813, allocations: 17.84 kB / 0.5581 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.588e-05/0.007889, allocations: 322.8 kB / 0.5584 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.231e-05/0.007911, allocations: 8 kB / 0.5584 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.018e-05/0.007931, allocations: 15.92 kB / 0.5584 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.533e-05/0.007976, allocations: 24.84 kB / 0.5584 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.007978, allocations: 0 / 0.5584 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.967e-05/0.008048, allocations: 57.58 kB / 0.5585 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.00806, allocations: 12.09 kB / 0.5585 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.008064, allocations: 0 / 0.5585 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.008075, allocations: 0 / 0.5585 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.513e-05/0.00813, allocations: 11.98 kB / 0.5585 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.008136, allocations: 0 / 0.5585 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.745e-05/0.008153, allocations: 4 kB / 0.5585 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.008158, allocations: 0 / 0.5585 GB, free: 14.15 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.744e-05/0.008226, allocations: 113.8 kB / 0.5586 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.00824, allocations: 3.953 kB / 0.5586 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.008356, allocations: 65.3 kB / 0.5587 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.008359, allocations: 7.984 kB / 0.5587 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.008364, allocations: 0 / 0.5587 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.008366, allocations: 0 / 0.5587 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.008473, allocations: 140.7 kB / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.008473, allocations: 0 / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.07e-05/0.008494, allocations: 7.938 kB / 0.5588 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.008495, allocations: 0 / 0.5588 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.008502, allocations: 4 kB / 0.5588 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.008504, allocations: 4 kB / 0.5588 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.008504, allocations: 0 / 0.5588 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.21e-05/0.008596, allocations: 151.5 kB / 0.559 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.008605, allocations: 7.953 kB / 0.559 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.008615, allocations: 3.938 kB / 0.559 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.066e-05/0.008646, allocations: 4 kB / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.008675, allocations: 7.984 kB / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.008677, allocations: 0 / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.153e-05/0.008719, allocations: 102.1 kB / 0.5591 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.008719, allocations: 0 / 0.5591 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001621/0.008881, allocations: 15.94 kB / 0.5591 GB, free: 13.45 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0003289/0.00921, allocations: 0.7083 MB / 0.5598 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.81e-05/0.009298, allocations: 23.97 kB / 0.5598 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.009299, allocations: 0 / 0.5598 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.389e-05/0.009323, allocations: 12 kB / 0.5598 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.009477, allocations: 10.19 kB / 0.5598 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008772/0.01035, allocations: 1.323 MB / 0.5611 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.289e-05/0.0104, allocations: 63.34 kB / 0.5612 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.074e-05/0.01042, allocations: 7.984 kB / 0.5612 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.01045, allocations: 16.5 kB / 0.5612 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of SimCode: time 6.41e-07/0.01045, allocations: 0 / 0.5612 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.02495, allocations: 2.302 MB / 0.5635 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.927/6.952, allocations: 5.844 kB / 0.5635 GB, free: 9.004 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.506143833510578] Failed to read output from testmodel.py, exit status != 0: 7.033459449186921 7.04527586 7.036781902 Calling exit ...