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.001498/0.001498, allocations: 112.6 kB / 19.73 MB, free: 2.094 MB / 14.72 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.001673/0.001673, allocations: 215.6 kB / 23.04 MB, free: 4.434 MB / 14.72 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 1.372/1.372, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.002489/0.002489, allocations: 290.4 kB / 313.5 MB, free: 2.805 MB / 238.1 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 1.188/1.188, allocations: 180.6 MB / 0.5377 GB, free: 13.07 MB / 382.1 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 98.53 kB / 0.7404 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1623, allocations: 95.38 MB / 0.8335 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002435/0.1647, allocations: 1.306 MB / 0.8348 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1658, allocations: 0.6244 MB / 0.8354 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.1659, allocations: 0 / 0.8354 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.203e-05/0.1659, allocations: 7.922 kB / 0.8354 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.307e-05/0.1659, allocations: 0 / 0.8354 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005706/0.1665, allocations: 157.6 kB / 0.8355 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.618e-05/0.1666, allocations: 31.84 kB / 0.8356 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.708e-05/0.1666, allocations: 0 / 0.8356 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.8e-05/0.1667, allocations: 15.92 kB / 0.8356 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.1667, allocations: 15.92 kB / 0.8356 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.1667, allocations: 4 kB / 0.8356 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005023/0.1672, allocations: 339.4 kB / 0.8359 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.1673, allocations: 4 kB / 0.8359 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.1673, allocations: 19.86 kB / 0.836 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.1676, allocations: 151.8 kB / 0.8361 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1676, allocations: 4 kB / 0.8361 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1676, allocations: 0 / 0.8361 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.1676, allocations: 0 / 0.8361 GB, free: 5.984 MB / 0.5762 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.0004216/0.168, allocations: 292.4 kB / 0.8364 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.168, allocations: 8.75 kB / 0.8364 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.539e-05/0.1681, allocations: 4.188 kB / 0.8364 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.515e-05/0.1681, allocations: 42.67 kB / 0.8364 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.1681, allocations: 8.891 kB / 0.8364 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.01e-05/0.1682, allocations: 110.4 kB / 0.8365 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1682, allocations: 12.31 kB / 0.8366 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.1682, allocations: 4.375 kB / 0.8366 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.1684, allocations: 50 kB / 0.8366 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1684, allocations: 0 / 0.8366 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.1684, allocations: 0 / 0.8366 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1684, allocations: 4 kB / 0.8366 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.45e-05/0.1685, allocations: 19.92 kB / 0.8366 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.1687, allocations: 144.7 kB / 0.8368 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.1688, allocations: 54.56 kB / 0.8368 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.39e-05/0.1688, allocations: 28.84 kB / 0.8369 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.1688, allocations: 4 kB / 0.8369 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.1689, allocations: 34.5 kB / 0.8369 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.1689, allocations: 0 / 0.8369 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001098/0.17, allocations: 459.4 kB / 0.8373 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.17, allocations: 59.34 kB / 0.8374 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.54e-05/0.1701, allocations: 93.86 kB / 0.8375 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.1701, allocations: 29.7 kB / 0.8375 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.1701, allocations: 80.14 kB / 0.8376 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.1702, allocations: 43.77 kB / 0.8376 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.1702, allocations: 29.7 kB / 0.8376 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1704, allocations: 314.8 kB / 0.8379 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.692e-05/0.1704, allocations: 27.98 kB / 0.838 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.994e-05/0.1705, allocations: 24 kB / 0.838 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.978e-05/0.1706, allocations: 57.72 kB / 0.8381 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1706, allocations: 0 / 0.8381 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001458/0.1707, allocations: 89.62 kB / 0.8381 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1707, allocations: 13.66 kB / 0.8381 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1707, allocations: 4 kB / 0.8382 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1708, allocations: 0 / 0.8382 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.1709, allocations: 23.98 kB / 0.8382 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1709, allocations: 0 / 0.8382 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.1709, allocations: 4 kB / 0.8382 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.1709, allocations: 0 / 0.8382 GB, free: 3.613 MB / 0.5762 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.322e-05/0.171, allocations: 118.4 kB / 0.8383 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.171, allocations: 11.94 kB / 0.8383 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.1712, allocations: 109.6 kB / 0.8384 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1712, allocations: 8 kB / 0.8384 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.1712, allocations: 0 / 0.8384 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.1712, allocations: 0 / 0.8384 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.1717, allocations: 325.5 kB / 0.8387 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1717, allocations: 0 / 0.8387 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.1718, allocations: 23.98 kB / 0.8388 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1718, allocations: 0 / 0.8388 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.1718, allocations: 4 kB / 0.8388 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1718, allocations: 4 kB / 0.8388 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1718, allocations: 0 / 0.8388 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.1721, allocations: 217.5 kB / 0.839 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.1721, allocations: 11.97 kB / 0.839 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.1721, allocations: 3.938 kB / 0.839 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.164e-05/0.1722, allocations: 0 / 0.839 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.1722, allocations: 11.98 kB / 0.839 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.1722, allocations: 7.938 kB / 0.839 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.711e-05/0.1722, allocations: 79.34 kB / 0.8391 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1722, allocations: 0 / 0.8391 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002671/0.1725, allocations: 43.81 kB / 0.8391 GB, free: 2.57 MB / 0.5762 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.0006479/0.1731, allocations: 0.7688 MB / 0.8399 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.1733, allocations: 60.41 kB / 0.8399 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1733, allocations: 160 / 0.8399 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.061e-05/0.1733, allocations: 39.92 kB / 0.84 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.1736, allocations: 8.219 kB / 0.84 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.1751, allocations: 1.513 MB / 0.8414 GB, free: 84 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.1754, allocations: 0.6807 MB / 0.8421 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.916e-05/0.1755, allocations: 15.98 kB / 0.8421 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.1755, allocations: 19.38 kB / 0.8421 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.1755, allocations: 0 / 0.8421 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.1997, allocations: 2.245 MB / 0.8443 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.28, allocations: 13.08 kB / 0.8444 GB, free: 13.27 MB / 0.5919 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 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 sys.exit(0), Time elapsed: 15.28609878604766] Failed to read output from testmodel.py, exit status != 0: 11.434059555002023 11.449717496 11.279094712 Calling exit ...