Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.001345/0.001345, allocations: 109.2 kB / 16.46 MB, free: 6.512 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.001619/0.001619, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.401/1.401, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00244/0.00244, allocations: 286.5 kB / 309.1 MB, free: 3.957 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.19/1.19, allocations: 180.9 MB / 0.5333 GB, free: 13.7 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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_m_flow_DerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",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.002778/0.002778, allocations: 98.84 kB / 0.7342 GB, free: 28.63 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.174, allocations: 95.34 MB / 0.8274 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002392/0.1764, allocations: 1.3 MB / 0.8286 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1776, allocations: 0.6208 MB / 0.8292 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.1776, allocations: 0 / 0.8292 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.1776, allocations: 4 kB / 0.8292 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.562e-05/0.1777, allocations: 7.922 kB / 0.8292 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005312/0.1782, allocations: 143.4 kB / 0.8294 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.22e-05/0.1783, allocations: 19.94 kB / 0.8294 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.1783, allocations: 3.984 kB / 0.8294 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.556e-05/0.1783, allocations: 11.92 kB / 0.8294 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.731e-05/0.1784, allocations: 4 kB / 0.8294 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.1784, allocations: 0 / 0.8294 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005136/0.1789, allocations: 347.3 kB / 0.8297 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.1789, allocations: 11.92 kB / 0.8298 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.1789, allocations: 7.984 kB / 0.8298 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.1792, allocations: 143.8 kB / 0.8299 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1792, allocations: 4 kB / 0.8299 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1792, allocations: 0 / 0.8299 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.1792, allocations: 0 / 0.8299 GB, free: 7.238 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004546/0.1797, allocations: 364.1 kB / 0.8303 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1797, allocations: 12.56 kB / 0.8303 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.964e-05/0.1797, allocations: 34.75 kB / 0.8303 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.1798, allocations: 12.89 kB / 0.8303 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.1799, allocations: 160.4 kB / 0.8305 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1799, allocations: 384 / 0.8305 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.1799, allocations: 4.375 kB / 0.8305 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.18, allocations: 42.19 kB / 0.8305 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.18, allocations: 3.938 kB / 0.8305 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.1801, allocations: 4 kB / 0.8305 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1801, allocations: 0 / 0.8305 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.923e-05/0.1801, allocations: 11.98 kB / 0.8305 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.1803, allocations: 161.7 kB / 0.8307 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.1805, allocations: 38.56 kB / 0.8307 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.1805, allocations: 12.86 kB / 0.8307 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1805, allocations: 7.984 kB / 0.8307 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.1806, allocations: 42.58 kB / 0.8308 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1806, allocations: 0 / 0.8308 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0006174/0.1812, allocations: 314.2 kB / 0.8311 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.1812, allocations: 51.41 kB / 0.8311 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.001e-05/0.1813, allocations: 97.86 kB / 0.8312 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.1813, allocations: 29.7 kB / 0.8312 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.1814, allocations: 84.12 kB / 0.8313 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.1814, allocations: 19.8 kB / 0.8313 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.1814, allocations: 21.72 kB / 0.8314 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1816, allocations: 318.8 kB / 0.8317 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.682e-05/0.1816, allocations: 12 kB / 0.8317 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.1816, allocations: 8 kB / 0.8317 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.893e-05/0.1817, allocations: 40.92 kB / 0.8317 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.1817, allocations: 0 / 0.8317 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001042/0.1818, allocations: 73.61 kB / 0.8318 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1818, allocations: 4 kB / 0.8318 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1818, allocations: 0 / 0.8318 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.1818, allocations: 4 kB / 0.8318 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.194e-05/0.1819, allocations: 12 kB / 0.8318 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1819, allocations: 0 / 0.8318 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.629e-05/0.1819, allocations: 64 / 0.8318 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.1819, allocations: 11.94 kB / 0.8318 GB, free: 4.984 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 (7): * Single equations (assignments): 7 * 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 8.276e-05/0.182, allocations: 109.8 kB / 0.8319 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.182, allocations: 15.86 kB / 0.832 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.1821, allocations: 73.55 kB / 0.832 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1821, allocations: 0 / 0.832 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1821, allocations: 0 / 0.832 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1821, allocations: 4 kB / 0.832 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.1825, allocations: 319.3 kB / 0.8323 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1825, allocations: 0 / 0.8323 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.1826, allocations: 12 kB / 0.8323 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1826, allocations: 0 / 0.8323 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1826, allocations: 4 kB / 0.8323 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1826, allocations: 0 / 0.8323 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1826, allocations: 0 / 0.8323 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.1828, allocations: 188.3 kB / 0.8325 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.1828, allocations: 81.06 kB / 0.8326 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.1828, allocations: 0 / 0.8326 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.1829, allocations: 7.984 kB / 0.8326 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.1829, allocations: 4 kB / 0.8326 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.1829, allocations: 4 kB / 0.8326 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.126e-05/0.183, allocations: 79.28 kB / 0.8327 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.183, allocations: 4.062 kB / 0.8327 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002414/0.1832, allocations: 23.86 kB / 0.8327 GB, free: 3.961 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0005726/0.1838, allocations: 0.7336 MB / 0.8334 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.1839, allocations: 35.98 kB / 0.8335 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1839, allocations: 4.062 kB / 0.8335 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.102e-05/0.1839, allocations: 19.92 kB / 0.8335 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.1842, allocations: 7.094 kB / 0.8335 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.1855, allocations: 1.33 MB / 0.8348 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1858, allocations: 0.6768 MB / 0.8355 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.708e-05/0.1858, allocations: 7.938 kB / 0.8355 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.1858, allocations: 15.44 kB / 0.8355 GB, free: 1 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1858, allocations: 0 / 0.8355 GB, free: 1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.2109, allocations: 1.67 MB / 0.8371 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.263, allocations: 9.156 kB / 0.8371 GB, free: 15.52 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_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_m_flow_DerivativeCheck.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.290424076840281] Failed to read output from testmodel.py, exit status != 0: 8.33055943902582 8.345293671 8.163178418 Calling exit ...