Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001356/0.001356, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001576/0.001576, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.409/1.409, allocations: 230.6 MB / 256 MB, free: 7.797 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.002501/0.002501, allocations: 289.4 kB / 312.7 MB, free: 2.605 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.215/1.215, allocations: 180.6 MB / 0.5369 GB, free: 14.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 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_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",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.002872/0.002872, allocations: 103.4 kB / 0.7395 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1736, allocations: 95.38 MB / 0.8326 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00302/0.1766, allocations: 1.49 MB / 0.8341 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1778, allocations: 0.5544 MB / 0.8346 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.204e-05/0.1779, allocations: 0 / 0.8346 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.1779, allocations: 7.922 kB / 0.8346 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.915e-05/0.178, allocations: 7.938 kB / 0.8347 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00071/0.1787, allocations: 160.4 kB / 0.8348 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.1788, allocations: 55.78 kB / 0.8349 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.202e-05/0.1789, allocations: 4 kB / 0.8349 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.402e-05/0.179, allocations: 27.91 kB / 0.8349 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.35e-05/0.179, allocations: 19.92 kB / 0.8349 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.179, allocations: 4 kB / 0.8349 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000467/0.1795, allocations: 275.5 kB / 0.8352 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.1795, allocations: 11.94 kB / 0.8352 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.1796, allocations: 23.91 kB / 0.8352 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.1799, allocations: 171.6 kB / 0.8354 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1799, allocations: 0 / 0.8354 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1799, allocations: 0 / 0.8354 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.1799, allocations: 3.938 kB / 0.8354 GB, free: 5.551 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006138/0.1805, allocations: 325.8 kB / 0.8357 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1806, allocations: 12.75 kB / 0.8357 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.1806, allocations: 34.75 kB / 0.8357 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.1807, allocations: 20.75 kB / 0.8358 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1808, allocations: 114.5 kB / 0.8359 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.1808, allocations: 4.375 kB / 0.8359 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.1808, allocations: 12.38 kB / 0.8359 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.1811, allocations: 131.8 kB / 0.836 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.1812, allocations: 7.938 kB / 0.836 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1812, allocations: 0 / 0.836 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1812, allocations: 4 kB / 0.836 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.1814, allocations: 51.89 kB / 0.8361 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005795/0.182, allocations: 275.9 kB / 0.8363 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.1823, allocations: 82.47 kB / 0.8364 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.1824, allocations: 32.83 kB / 0.8364 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1824, allocations: 0 / 0.8364 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.1825, allocations: 34.56 kB / 0.8365 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1825, allocations: 0 / 0.8365 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001708/0.1842, allocations: 0.503 MB / 0.837 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.1842, allocations: 51.41 kB / 0.837 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.125e-05/0.1843, allocations: 97.8 kB / 0.8371 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.1843, allocations: 33.7 kB / 0.8371 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.1844, allocations: 88.06 kB / 0.8372 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.1845, allocations: 47.62 kB / 0.8373 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.1845, allocations: 29.72 kB / 0.8373 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1847, allocations: 314.8 kB / 0.8376 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.1848, allocations: 31.98 kB / 0.8376 GB, free: 3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.1849, allocations: 39.97 kB / 0.8377 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.1852, allocations: 69.89 kB / 0.8377 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1852, allocations: 0 / 0.8377 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003316/0.1855, allocations: 121.7 kB / 0.8378 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1855, allocations: 4 kB / 0.8379 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1855, allocations: 0 / 0.8379 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1855, allocations: 0 / 0.8379 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.1857, allocations: 32.02 kB / 0.8379 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.1857, allocations: 11.88 kB / 0.8379 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.677e-05/0.1858, allocations: 7.984 kB / 0.8379 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-06/0.1858, allocations: 7.938 kB / 0.8379 GB, free: 2.703 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 0.0001059/0.1859, allocations: 114.5 kB / 0.838 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.1859, allocations: 4.188 kB / 0.838 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003947/0.1863, allocations: 129.6 kB / 0.8381 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.1863, allocations: 4 kB / 0.8381 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.1863, allocations: 15.88 kB / 0.8382 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1863, allocations: 0 / 0.8382 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006096/0.187, allocations: 341.6 kB / 0.8385 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.187, allocations: 0 / 0.8385 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.1871, allocations: 31.97 kB / 0.8385 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1871, allocations: 3.938 kB / 0.8385 GB, free: 2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1871, allocations: 3.938 kB / 0.8385 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.1871, allocations: 4.547 kB / 0.8385 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1871, allocations: 0 / 0.8385 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.1877, allocations: 253.3 kB / 0.8388 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-06/0.1877, allocations: 4.031 kB / 0.8388 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.1877, allocations: 3.938 kB / 0.8388 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.1878, allocations: 11.98 kB / 0.8388 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.1878, allocations: 7.984 kB / 0.8388 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.1878, allocations: 4 kB / 0.8388 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.569e-05/0.1879, allocations: 75.28 kB / 0.8389 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1879, allocations: 0 / 0.8389 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000279/0.1882, allocations: 39.94 kB / 0.8389 GB, free: 1.586 MB / 0.5762 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.0009244/0.1891, allocations: 0.8332 MB / 0.8397 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003269/0.1894, allocations: 75.89 kB / 0.8398 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1894, allocations: 0 / 0.8398 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.1896, allocations: 43.97 kB / 0.8398 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.1898, allocations: 12.06 kB / 0.8399 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.1922, allocations: 1.601 MB / 0.8414 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.618e-05/0.1923, allocations: 87.7 kB / 0.8415 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.751e-05/0.1923, allocations: 12.66 kB / 0.8415 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/0.1924, allocations: 19.44 kB / 0.8415 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.1924, allocations: 4 kB / 0.8415 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/0.2244, allocations: 2.871 MB / 0.8443 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.21, allocations: 13.39 kB / 0.8444 GB, free: 12.1 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.348320913966745] Failed to read output from testmodel.py, exit status != 0: 11.317883639130741 11.345760193 11.16050195 Calling exit ...