Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001047/0.001047, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001052/0.001052, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8583/0.8583, allocations: 177.2 MB / 202.8 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001425/0.001425, allocations: 234.2 kB / 259.4 MB, free: 12.92 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6559/0.6559, allocations: 138.4 MB / 454.3 MB, free: 29.97 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.466e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002036/0.002061, allocations: 1.305 MB / 0.6476 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0007202/0.002781, allocations: 0.5526 MB / 0.6481 GB, free: 8 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.002809, allocations: 0 / 0.6481 GB, free: 8 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.002828, allocations: 3.938 kB / 0.6481 GB, free: 4 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.889e-05/0.002867, allocations: 3.938 kB / 0.6481 GB, free: 0 / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.2545/0.2574, allocations: 150 kB / 0.6483 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.48e-05/0.2574, allocations: 27.31 kB / 0.6483 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.2575, allocations: 2.5 kB / 0.6483 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.202e-05/0.2575, allocations: 23.11 kB / 0.6483 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.373e-05/0.2576, allocations: 9.781 kB / 0.6483 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.2576, allocations: 0.5625 kB / 0.6483 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003677/0.258, allocations: 275.1 kB / 0.6486 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.258, allocations: 4.516 kB / 0.6486 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.258, allocations: 15.11 kB / 0.6486 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.2583, allocations: 160.5 kB / 0.6488 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.2583, allocations: 0.7188 kB / 0.6488 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2583, allocations: 2.812 kB / 0.6488 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.2583, allocations: 1.406 kB / 0.6488 GB, free: 55.61 MB / 0.5573 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.0002998/0.2586, allocations: 298.7 kB / 0.649 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2586, allocations: 9.906 kB / 0.6491 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.316e-05/0.2586, allocations: 34.16 kB / 0.6491 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.2587, allocations: 3.656 kB / 0.6491 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.848e-05/0.2587, allocations: 106 kB / 0.6492 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.2587, allocations: 4.188 kB / 0.6492 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.2587, allocations: 6.875 kB / 0.6492 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.2589, allocations: 105.1 kB / 0.6493 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.2589, allocations: 2.719 kB / 0.6493 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.2589, allocations: 3.516 kB / 0.6493 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2589, allocations: 4.938 kB / 0.6493 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.646e-05/0.2589, allocations: 18.92 kB / 0.6493 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.259, allocations: 139.3 kB / 0.6495 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.509e-05/0.2591, allocations: 59.41 kB / 0.6495 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/0.2592, allocations: 28.34 kB / 0.6495 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.2592, allocations: 4.328 kB / 0.6496 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.2592, allocations: 33.33 kB / 0.6496 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/0.2592, allocations: 0.6562 kB / 0.6496 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0007886/0.26, allocations: 449.5 kB / 0.65 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.26, allocations: 57.06 kB / 0.6501 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.905e-05/0.2601, allocations: 98.33 kB / 0.6502 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.774e-06/0.2601, allocations: 27.17 kB / 0.6502 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.346e-05/0.2601, allocations: 81.52 kB / 0.6503 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.2601, allocations: 45.03 kB / 0.6503 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.2601, allocations: 28.31 kB / 0.6503 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.227e-05/0.2602, allocations: 318.5 kB / 0.6506 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.235e-05/0.2602, allocations: 20.7 kB / 0.6507 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.472e-05/0.2602, allocations: 24.73 kB / 0.6507 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.833e-05/0.2603, allocations: 59.52 kB / 0.6507 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2603, allocations: 0 / 0.6507 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001149/0.2604, allocations: 95.25 kB / 0.6508 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2604, allocations: 9.906 kB / 0.6508 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2605, allocations: 1.688 kB / 0.6508 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2605, allocations: 1.094 kB / 0.6508 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/0.2605, allocations: 25.53 kB / 0.6509 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2606, allocations: 1.75 kB / 0.6509 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.46e-05/0.2606, allocations: 2.672 kB / 0.6509 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.2606, allocations: 4.562 kB / 0.6509 GB, free: 53.9 MB / 0.5573 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 4.606e-05/0.2606, allocations: 116.8 kB / 0.651 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-06/0.2606, allocations: 7.094 kB / 0.651 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/0.2608, allocations: 108.5 kB / 0.6511 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2608, allocations: 5.969 kB / 0.6511 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2608, allocations: 3.156 kB / 0.6511 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2608, allocations: 2.828 kB / 0.6511 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.2611, allocations: 316.9 kB / 0.6514 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2611, allocations: 0.7031 kB / 0.6514 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.23e-05/0.2611, allocations: 26.94 kB / 0.6514 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2611, allocations: 0.8906 kB / 0.6514 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.2611, allocations: 3.031 kB / 0.6514 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.2611, allocations: 1.969 kB / 0.6514 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2612, allocations: 3.047 kB / 0.6514 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.2613, allocations: 219.2 kB / 0.6517 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.2613, allocations: 6.438 kB / 0.6517 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.2613, allocations: 4.281 kB / 0.6517 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.01e-05/0.2614, allocations: 3.766 kB / 0.6517 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.2614, allocations: 9.266 kB / 0.6517 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.2614, allocations: 6.5 kB / 0.6517 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.323e-05/0.2614, allocations: 80.91 kB / 0.6518 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2614, allocations: 0 / 0.6518 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001985/0.2616, allocations: 39.48 kB / 0.6518 GB, free: 53.25 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0003295/0.2619, allocations: 0.7845 MB / 0.6526 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001123/0.2621, allocations: 59.91 kB / 0.6526 GB, free: 52.58 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2621, allocations: 0 / 0.6526 GB, free: 52.58 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.146e-05/0.2621, allocations: 27.52 kB / 0.6526 GB, free: 52.58 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.2622, allocations: 8.797 kB / 0.6527 GB, free: 52.58 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008358/0.2631, allocations: 1.467 MB / 0.6541 GB, free: 51.37 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.069e-05/0.2631, allocations: 70.94 kB / 0.6542 GB, free: 51.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.374e-05/0.2632, allocations: 10.47 kB / 0.6542 GB, free: 51.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.2632, allocations: 23.58 kB / 0.6542 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of SimCode: time 6.31e-07/0.2632, allocations: 0 / 0.6542 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.2801, allocations: 2.731 MB / 0.6569 GB, free: 50.44 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.408/6.688, allocations: 8.172 kB / 0.6569 GB, free: 50.44 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.308699695393443] Failed to read output from testmodel.py, exit status != 0: 6.765309702605009 6.772613302 6.512705232 Calling exit ...