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.001318/0.001318, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001454/0.001454, allocations: 217 kB / 22.25 MB, free: 5.082 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.352/1.352, allocations: 230.6 MB / 256 MB, free: 8.023 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.002356/0.002356, allocations: 289.4 kB / 312.7 MB, free: 2.836 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.169/1.169, allocations: 180.6 MB / 0.5369 GB, free: 12.95 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_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.002794/0.002794, allocations: 105.2 kB / 0.7396 GB, free: 28.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1656, allocations: 95.38 MB / 0.8327 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002317/0.1679, allocations: 1.302 MB / 0.834 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1689, allocations: 0.6244 MB / 0.8346 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.1689, allocations: 0 / 0.8346 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.1689, allocations: 0 / 0.8346 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.556e-05/0.169, allocations: 7.938 kB / 0.8346 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.1695, allocations: 147.4 kB / 0.8348 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.214e-05/0.1695, allocations: 19.92 kB / 0.8348 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.1696, allocations: 4 kB / 0.8348 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.477e-05/0.1696, allocations: 7.938 kB / 0.8348 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.7e-05/0.1697, allocations: 11.98 kB / 0.8348 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.1697, allocations: 7.938 kB / 0.8348 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004955/0.1702, allocations: 335.4 kB / 0.8351 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.1702, allocations: 11.94 kB / 0.8351 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.1702, allocations: 11.97 kB / 0.8352 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.1705, allocations: 147.8 kB / 0.8353 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1705, allocations: 0 / 0.8353 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1705, allocations: 0 / 0.8353 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.1705, allocations: 0 / 0.8353 GB, free: 6.035 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.0003908/0.1709, allocations: 286.5 kB / 0.8356 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1709, allocations: 12.69 kB / 0.8356 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.1709, allocations: 38.73 kB / 0.8356 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.1709, allocations: 4.891 kB / 0.8356 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.517e-05/0.171, allocations: 114.5 kB / 0.8357 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.1711, allocations: 4.312 kB / 0.8357 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.1711, allocations: 384 / 0.8357 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.1712, allocations: 46.23 kB / 0.8358 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.1712, allocations: 3.938 kB / 0.8358 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.1712, allocations: 0 / 0.8358 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.1712, allocations: 0 / 0.8358 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.645e-05/0.1712, allocations: 12 kB / 0.8358 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.1714, allocations: 124.8 kB / 0.8359 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.1715, allocations: 50.64 kB / 0.836 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.1716, allocations: 20.84 kB / 0.836 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.1716, allocations: 0 / 0.836 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.1716, allocations: 34.56 kB / 0.836 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.1716, allocations: 0 / 0.836 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0005393/0.1722, allocations: 233.1 kB / 0.8362 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.1722, allocations: 59.39 kB / 0.8363 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.442e-05/0.1723, allocations: 97.84 kB / 0.8364 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.1723, allocations: 25.7 kB / 0.8364 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/0.1723, allocations: 88.14 kB / 0.8365 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.1724, allocations: 19.78 kB / 0.8365 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.1724, allocations: 21.72 kB / 0.8365 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1725, allocations: 318.8 kB / 0.8368 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.423e-05/0.1725, allocations: 11.98 kB / 0.8369 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.115e-05/0.1726, allocations: 12 kB / 0.8369 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.561e-05/0.1726, allocations: 32.86 kB / 0.8369 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1726, allocations: 3.938 kB / 0.8369 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.453e-05/0.1727, allocations: 65.62 kB / 0.837 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1727, allocations: 6.031 kB / 0.837 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.1727, allocations: 0 / 0.837 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1727, allocations: 0 / 0.837 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.504e-05/0.1728, allocations: 19.92 kB / 0.837 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1728, allocations: 4 kB / 0.837 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.84e-05/0.1728, allocations: 4 kB / 0.837 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1728, allocations: 7.938 kB / 0.837 GB, free: 4.066 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 7.158e-05/0.1729, allocations: 106.5 kB / 0.8371 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.1729, allocations: 7.938 kB / 0.8371 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.1731, allocations: 81.75 kB / 0.8372 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.1731, allocations: 0 / 0.8372 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1731, allocations: 0 / 0.8372 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1731, allocations: 0.5156 kB / 0.8372 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.1734, allocations: 294.4 kB / 0.8375 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1734, allocations: 0 / 0.8375 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.983e-05/0.1734, allocations: 11.94 kB / 0.8375 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1734, allocations: 3.984 kB / 0.8375 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.1734, allocations: 4 kB / 0.8375 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1734, allocations: 0 / 0.8375 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1734, allocations: 0 / 0.8375 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.1736, allocations: 180.4 kB / 0.8377 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.1737, allocations: 11.97 kB / 0.8377 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.1737, allocations: 8 kB / 0.8377 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.1737, allocations: 0 / 0.8377 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.1738, allocations: 3.984 kB / 0.8377 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.1738, allocations: 4 kB / 0.8377 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.093e-05/0.1738, allocations: 79.28 kB / 0.8378 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1738, allocations: 0 / 0.8378 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002445/0.174, allocations: 31.88 kB / 0.8378 GB, free: 3.164 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.000513/0.1746, allocations: 0.7288 MB / 0.8385 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.1747, allocations: 32.17 kB / 0.8385 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1747, allocations: 64 / 0.8385 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.547e-05/0.1747, allocations: 20 kB / 0.8386 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.1749, allocations: 4 kB / 0.8386 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.1761, allocations: 1.331 MB / 0.8399 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.1764, allocations: 0.6768 MB / 0.8405 GB, free: 240 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.587e-05/0.1765, allocations: 7.938 kB / 0.8405 GB, free: 232 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.1765, allocations: 15.42 kB / 0.8405 GB, free: 216 kB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.1765, allocations: 0 / 0.8405 GB, free: 216 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.2045, allocations: 1.756 MB / 0.8423 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.893/10.1, allocations: 10 kB / 0.8423 GB, free: 14.62 MB / 0.5919 GB " [Timeout remaining time 650] (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: 14.01377518300069] Failed to read output from testmodel.py, exit status != 0: 10.195527507999941 10.210758384 10.03721045 Calling exit ...