Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.001064/0.001064, 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.001543/0.001543, 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.9399/0.9399, 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.5572/0.5572, allocations: 114 MB / 373.9 MB, free: 8.699 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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.392e-05, allocations: 10.22 kB / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002097/0.002121, allocations: 1.478 MB / 0.5556 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008603/0.002981, allocations: 0.5642 MB / 0.5562 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.003016, allocations: 0 / 0.5562 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.003048, allocations: 3.938 kB / 0.5562 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.623e-05/0.003094, allocations: 11.92 kB / 0.5562 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.00362, allocations: 166.2 kB / 0.5564 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.581e-05/0.003706, allocations: 43.84 kB / 0.5564 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 5.054e-05/0.003756, allocations: 7.984 kB / 0.5564 GB, free: 496 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.26e-05/0.003829, allocations: 27.92 kB / 0.5564 GB, free: 468 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.471e-05/0.003874, allocations: 23.95 kB / 0.5564 GB, free: 444 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.003894, allocations: 4 kB / 0.5565 GB, free: 440 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003233/0.004217, allocations: 271.4 kB / 0.5567 GB, free: 168 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.004242, allocations: 19.91 kB / 0.5567 GB, free: 148 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.004272, allocations: 19.98 kB / 0.5568 GB, free: 128 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.004561, allocations: 195.3 kB / 0.5569 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.004566, allocations: 0 / 0.5569 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.443e-06/0.004567, allocations: 0 / 0.5569 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.004574, allocations: 0 / 0.5569 GB, free: 15.93 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005611/0.005135, allocations: 321.8 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.005189, allocations: 8.031 kB / 0.5573 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.788e-05/0.005227, allocations: 38.75 kB / 0.5573 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.005265, allocations: 8.891 kB / 0.5573 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.005375, allocations: 117.8 kB / 0.5574 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.005404, allocations: 4.375 kB / 0.5574 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.005431, allocations: 12.36 kB / 0.5574 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.005663, allocations: 141.3 kB / 0.5576 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.005675, allocations: 0 / 0.5576 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.005688, allocations: 0 / 0.5576 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.005696, allocations: 4 kB / 0.5576 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.005829, allocations: 47.95 kB / 0.5576 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.006303, allocations: 279.8 kB / 0.5579 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.006474, allocations: 78.47 kB / 0.558 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.949e-05/0.006533, allocations: 32.84 kB / 0.558 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.006554, allocations: 3.984 kB / 0.558 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.006577, allocations: 34.56 kB / 0.558 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.913e-06/0.006579, allocations: 0 / 0.558 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.001108/0.007687, allocations: 0.5067 MB / 0.5585 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.007723, allocations: 55.34 kB / 0.5586 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.439e-05/0.007797, allocations: 97.86 kB / 0.5587 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.007813, allocations: 33.7 kB / 0.5587 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.007861, allocations: 88.08 kB / 0.5588 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.007894, allocations: 35.7 kB / 0.5588 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.007939, allocations: 33.7 kB / 0.5588 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.008041, allocations: 322.8 kB / 0.5591 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.284e-05/0.008124, allocations: 31.98 kB / 0.5592 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.745e-05/0.008191, allocations: 27.97 kB / 0.5592 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.008335, allocations: 76.77 kB / 0.5593 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008336, allocations: 0 / 0.5593 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002026/0.008539, allocations: 128.6 kB / 0.5594 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.008556, allocations: 4 kB / 0.5594 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.008564, allocations: 4.312 kB / 0.5594 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.008582, allocations: 0 / 0.5594 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.008685, allocations: 27.92 kB / 0.5594 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.008698, allocations: 7.938 kB / 0.5594 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/0.008731, allocations: 7.984 kB / 0.5595 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.008741, allocations: 7.984 kB / 0.5595 GB, free: 13.1 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 (13): * Single equations (assignments): 13 * 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.772e-05/0.008839, allocations: 117.8 kB / 0.5596 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.008859, allocations: 7.953 kB / 0.5596 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.009106, allocations: 125.7 kB / 0.5597 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.009111, allocations: 4 kB / 0.5597 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.009117, allocations: 7.875 kB / 0.5597 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.009121, allocations: 192 / 0.5597 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.009495, allocations: 345.7 kB / 0.56 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.009499, allocations: 7.922 kB / 0.56 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.109e-05/0.00958, allocations: 31.92 kB / 0.5601 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.009583, allocations: 3.938 kB / 0.5601 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.009592, allocations: 4 kB / 0.5601 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.009598, allocations: 7.984 kB / 0.5601 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009599, allocations: 0 / 0.5601 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.009886, allocations: 243.4 kB / 0.5603 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-06/0.009893, allocations: 4.031 kB / 0.5603 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.009908, allocations: 7.938 kB / 0.5603 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.898e-05/0.009967, allocations: 8.062 kB / 0.5603 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.009986, allocations: 7.984 kB / 0.5604 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.009992, allocations: 4 kB / 0.5604 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.658e-05/0.01002, allocations: 83.27 kB / 0.5604 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.01002, allocations: 0 / 0.5604 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001985/0.01022, allocations: 39.88 kB / 0.5605 GB, free: 11.98 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * 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 (11): * Single equations (assignments): 11 * 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.0005901/0.01081, allocations: 0.8176 MB / 0.5613 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.01101, allocations: 83.67 kB / 0.5614 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01101, allocations: 0 / 0.5614 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.953e-05/0.01108, allocations: 43.91 kB / 0.5614 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.01137, allocations: 17.64 kB / 0.5614 GB, free: 11 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.01285, allocations: 1.55 MB / 0.5629 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.3e-05/0.01291, allocations: 79.27 kB / 0.563 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.777e-05/0.01296, allocations: 8.719 kB / 0.563 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.734e-05/0.01301, allocations: 28.5 kB / 0.563 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of SimCode: time 7.31e-07/0.01301, allocations: 0 / 0.563 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.03523, allocations: 2.988 MB / 0.566 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.57/7.605, allocations: 11.94 kB / 0.566 GB, free: 6.457 MB / 0.5261 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.331733400002122] Failed to read output from testmodel.py, exit status != 0: 7.687358278781176 7.702356733 7.694907229 Calling exit ...