Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007851/0.007852, allocations: 97.34 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 194.5 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9039/0.9039, allocations: 143 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001166, allocations: 63.2 kB / 0.5955 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.181, allocations: 82.03 MB / 0.6756 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002329/0.1834, allocations: 1.27 MB / 0.6769 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1846, allocations: 0.6152 MB / 0.6775 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.1847, allocations: 0 / 0.6775 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.1847, allocations: 0 / 0.6775 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.441e-05/0.1848, allocations: 3.938 kB / 0.6775 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005782/0.1854, allocations: 150.5 kB / 0.6776 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.798e-05/0.1854, allocations: 19.86 kB / 0.6776 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.1855, allocations: 8 kB / 0.6776 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.562e-05/0.1855, allocations: 4 kB / 0.6776 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.134e-05/0.1856, allocations: 15.92 kB / 0.6777 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.1856, allocations: 0 / 0.6777 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005001/0.1861, allocations: 343.3 kB / 0.678 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.1861, allocations: 7.984 kB / 0.678 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.1862, allocations: 7.938 kB / 0.678 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.1865, allocations: 147.5 kB / 0.6781 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1865, allocations: 0 / 0.6781 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1865, allocations: 0 / 0.6781 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1865, allocations: 0 / 0.6781 GB, free: 7.781 MB / 0.5137 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.0005245/0.1871, allocations: 367.1 kB / 0.6785 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1871, allocations: 12.03 kB / 0.6785 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.1872, allocations: 0.9375 kB / 0.6785 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.1873, allocations: 168.3 kB / 0.6787 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1873, allocations: 4.375 kB / 0.6787 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.1874, allocations: 12.3 kB / 0.6787 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.1875, allocations: 38.25 kB / 0.6787 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1875, allocations: 192 / 0.6787 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1875, allocations: 11.88 kB / 0.6787 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1875, allocations: 0 / 0.6787 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.724e-05/0.1876, allocations: 15.98 kB / 0.6788 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.1878, allocations: 153.7 kB / 0.6789 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.188, allocations: 42.61 kB / 0.6789 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.188, allocations: 16.86 kB / 0.679 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.188, allocations: 0 / 0.679 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1881, allocations: 42.58 kB / 0.679 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.1881, allocations: 4 kB / 0.679 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.000645/0.1887, allocations: 302.3 kB / 0.6793 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.1888, allocations: 51.41 kB / 0.6793 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.081e-05/0.1888, allocations: 97.84 kB / 0.6794 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.1889, allocations: 29.7 kB / 0.6795 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.1889, allocations: 84.14 kB / 0.6795 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.1889, allocations: 19.8 kB / 0.6796 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.189, allocations: 21.72 kB / 0.6796 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1891, allocations: 318.8 kB / 0.6799 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.671e-05/0.1892, allocations: 11.94 kB / 0.6799 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.737e-05/0.1892, allocations: 23.95 kB / 0.6799 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.67e-05/0.1893, allocations: 28.86 kB / 0.6799 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1893, allocations: 0 / 0.6799 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.73e-05/0.1894, allocations: 77.52 kB / 0.68 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1894, allocations: 7.938 kB / 0.68 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1894, allocations: 0 / 0.68 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1894, allocations: 4 kB / 0.68 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.192e-05/0.1895, allocations: 12 kB / 0.68 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1895, allocations: 0 / 0.68 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.883e-05/0.1895, allocations: 4.062 kB / 0.68 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.1895, allocations: 0 / 0.68 GB, free: 5.566 MB / 0.5137 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.536e-05/0.1896, allocations: 118.5 kB / 0.6802 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.1896, allocations: 3.938 kB / 0.6802 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.1898, allocations: 74.11 kB / 0.6802 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1898, allocations: 0 / 0.6802 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1898, allocations: 4 kB / 0.6802 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1898, allocations: 0 / 0.6802 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.1901, allocations: 315.3 kB / 0.6805 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.1901, allocations: 7.984 kB / 0.6805 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.1902, allocations: 8 kB / 0.6806 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1902, allocations: 0 / 0.6806 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1902, allocations: 8 kB / 0.6806 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1902, allocations: 0 / 0.6806 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1902, allocations: 0 / 0.6806 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.1904, allocations: 192.2 kB / 0.6807 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.1905, allocations: 81.14 kB / 0.6808 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.1905, allocations: 3.984 kB / 0.6808 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/0.1906, allocations: 4 kB / 0.6808 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.1906, allocations: 0 / 0.6808 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.1906, allocations: 8 kB / 0.6808 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.519e-05/0.1906, allocations: 79.34 kB / 0.6809 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1907, allocations: 0 / 0.6809 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002503/0.1909, allocations: 23.92 kB / 0.6809 GB, free: 4.543 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001835/0.1911, allocations: 133.3 kB / 0.6811 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.1912, allocations: 40.11 kB / 0.6811 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1912, allocations: 3.938 kB / 0.6811 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.747e-05/0.1913, allocations: 16 kB / 0.6811 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.1915, allocations: 9.719 kB / 0.6811 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.1919, allocations: 195.9 kB / 0.6813 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.1922, allocations: 0.6846 MB / 0.682 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.331e-05/0.1923, allocations: 4 kB / 0.682 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/0.1923, allocations: 11.44 kB / 0.682 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1923, allocations: 0 / 0.682 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of Templates: time 0.002866/0.1952, allocations: 0.6468 MB / 0.6826 GB, free: 2.781 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)