Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.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.000846/0.000846, allocations: 72.5 kB / 19.92 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.0009693/0.0009693, 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.9007/0.9007, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.5494/0.5494, allocations: 114 MB / 373.9 MB, free: 8.727 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.Reals.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.737e-06/3.737e-06, allocations: 0 / 0.5542 GB, free: 1.621 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.565e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.617 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001536/0.001561, allocations: 0.6791 MB / 0.5549 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009723/0.002534, allocations: 0.8315 MB / 0.5557 GB, free: 100 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.031e-05/0.002574, allocations: 0 / 0.5557 GB, free: 100 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 3.587e-05/0.00261, allocations: 4 kB / 0.5557 GB, free: 96 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 6.826e-05/0.002678, allocations: 11.88 kB / 0.5557 GB, free: 84 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.404e-05/0.002742, allocations: 11.98 kB / 0.5557 GB, free: 72 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 8.598e-05/0.002828, allocations: 47.84 kB / 0.5558 GB, free: 24 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.00294, allocations: 4 kB / 0.5558 GB, free: 20 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.333e-05/0.003023, allocations: 19.98 kB / 0.5558 GB, free: 0 / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.997e-05/0.003083, allocations: 19.97 kB / 0.5558 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.003107, allocations: 4 kB / 0.5558 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-06/0.003113, allocations: 4 kB / 0.5558 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.003133, allocations: 11.92 kB / 0.5559 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.00316, allocations: 11.98 kB / 0.5559 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.51e-05/0.003255, allocations: 43.81 kB / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.003259, allocations: 4 kB / 0.5559 GB, free: 15.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.00326, allocations: 0 / 0.5559 GB, free: 15.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.003265, allocations: 3.938 kB / 0.5559 GB, free: 15.9 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003824/0.003648, allocations: 287.1 kB / 0.5562 GB, free: 15.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.003688, allocations: 12.56 kB / 0.5562 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.29e-05/0.003721, allocations: 34.75 kB / 0.5562 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.103e-05/0.003742, allocations: 8.891 kB / 0.5562 GB, free: 15.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.049e-05/0.003822, allocations: 105.8 kB / 0.5563 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.003833, allocations: 4.375 kB / 0.5563 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.003842, allocations: 8.375 kB / 0.5564 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.003999, allocations: 66.2 kB / 0.5564 GB, free: 15.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.004006, allocations: 192 / 0.5564 GB, free: 15.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.004016, allocations: 4.375 kB / 0.5564 GB, free: 15.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.004021, allocations: 4.125 kB / 0.5564 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.004162, allocations: 67.88 kB / 0.5565 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.004491, allocations: 239.9 kB / 0.5567 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.004613, allocations: 50.53 kB / 0.5568 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.801e-05/0.004691, allocations: 40.92 kB / 0.5568 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.004702, allocations: 7.938 kB / 0.5568 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.004725, allocations: 30.56 kB / 0.5568 GB, free: 14.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.004726, allocations: 4 kB / 0.5568 GB, free: 14.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003047/0.005031, allocations: 129.5 kB / 0.557 GB, free: 14.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.005064, allocations: 51.41 kB / 0.557 GB, free: 14.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.289e-05/0.005137, allocations: 109.8 kB / 0.5571 GB, free: 14.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.005148, allocations: 25.7 kB / 0.5572 GB, free: 14.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.005191, allocations: 92.03 kB / 0.5572 GB, free: 14.37 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.00521, allocations: 15.95 kB / 0.5573 GB, free: 14.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.005237, allocations: 13.7 kB / 0.5573 GB, free: 14.34 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.536e-05/0.005322, allocations: 318.8 kB / 0.5576 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.257e-05/0.005395, allocations: 23.97 kB / 0.5576 GB, free: 13.99 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.005458, allocations: 40.12 kB / 0.5576 GB, free: 13.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.00559, allocations: 72.72 kB / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.005592, allocations: 0 / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001594/0.005751, allocations: 105.5 kB / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.005764, allocations: 8 kB / 0.5578 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.005769, allocations: 0 / 0.5578 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.00578, allocations: 0 / 0.5578 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.012e-05/0.005861, allocations: 15.98 kB / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.005875, allocations: 4.312 kB / 0.5578 GB, free: 13.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.005909, allocations: 7.984 kB / 0.5578 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.005917, allocations: 7.984 kB / 0.5578 GB, free: 13.73 MB / 490.7 MB 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 (3): * Single equations (assignments): 3 * 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 5.828e-05/0.005976, allocations: 105.8 kB / 0.5579 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.005992, allocations: 11.94 kB / 0.558 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.796e-05/0.00601, allocations: 4 kB / 0.558 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.006012, allocations: 0 / 0.558 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.006016, allocations: 0 / 0.558 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.006019, allocations: 7.938 kB / 0.558 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.006128, allocations: 132.8 kB / 0.5581 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006129, allocations: 3.938 kB / 0.5581 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.006169, allocations: 23.91 kB / 0.5581 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.006171, allocations: 0 / 0.5581 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.006179, allocations: 4 kB / 0.5581 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.006182, allocations: 3.984 kB / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.006182, allocations: 0 / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.006376, allocations: 195.4 kB / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-06/0.006385, allocations: 3.938 kB / 0.5583 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.006398, allocations: 7.984 kB / 0.5583 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.883e-05/0.006447, allocations: 11.98 kB / 0.5583 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.006488, allocations: 4 kB / 0.5583 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.006491, allocations: 0 / 0.5583 GB, free: 13.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.882e-05/0.006529, allocations: 91.27 kB / 0.5584 GB, free: 13.06 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006529, allocations: 3.938 kB / 0.5584 GB, free: 13.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001482/0.006678, allocations: 11.94 kB / 0.5584 GB, free: 13.04 MB / 490.7 MB 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 (3): * Single equations (assignments): 3 * 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.0004886/0.007166, allocations: 0.7318 MB / 0.5592 GB, free: 12.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.007373, allocations: 67.92 kB / 0.5592 GB, free: 12.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.007375, allocations: 4 kB / 0.5592 GB, free: 12.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.311e-05/0.007448, allocations: 35.91 kB / 0.5593 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.007716, allocations: 7.984 kB / 0.5593 GB, free: 12.17 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.008149, allocations: 153.5 kB / 0.5594 GB, free: 11.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.4e-05/0.008203, allocations: 71.27 kB / 0.5595 GB, free: 11.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.985e-05/0.008233, allocations: 8 kB / 0.5595 GB, free: 11.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.008279, allocations: 16.5 kB / 0.5595 GB, free: 11.87 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/0.008279, allocations: 0 / 0.5595 GB, free: 11.87 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.0242, allocations: 2.318 MB / 0.5618 GB, free: 9.695 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.831/6.855, allocations: 10.3 kB / 0.5618 GB, free: 9.691 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract_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_Reals_Validation_Subtract.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.430419137701392] Failed to read output from testmodel.py, exit status != 0: 6.939499109052122 6.948763108 6.943563083 Calling exit ...