Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007424/0.007425, allocations: 103.8 kB / 15.73 MB, free: 6.066 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.001776/0.001775, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.8724/0.8724, allocations: 143.1 MB / 433.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001225, allocations: 67.47 kB / 0.595 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1717, allocations: 82.04 MB / 0.6752 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002599/0.1743, allocations: 1.273 MB / 0.6764 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1755, allocations: 0.6114 MB / 0.677 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.214e-05/0.1755, allocations: 7.938 kB / 0.677 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/0.1755, allocations: 3.984 kB / 0.677 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.098e-05/0.1756, allocations: 7.922 kB / 0.677 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006642/0.1763, allocations: 139.4 kB / 0.6772 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.689e-05/0.1764, allocations: 27.86 kB / 0.6772 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.1764, allocations: 0 / 0.6772 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.343e-05/0.1765, allocations: 4 kB / 0.6772 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.951e-05/0.1766, allocations: 15.91 kB / 0.6772 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.1766, allocations: 4 kB / 0.6772 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005113/0.1771, allocations: 347.3 kB / 0.6775 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.1771, allocations: 3.984 kB / 0.6775 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.1772, allocations: 11.88 kB / 0.6776 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.1774, allocations: 147.1 kB / 0.6777 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1775, allocations: 0 / 0.6777 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1775, allocations: 0 / 0.6777 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.1775, allocations: 0 / 0.6777 GB, free: 8.215 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.0005022/0.178, allocations: 355.7 kB / 0.678 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.178, allocations: 8.031 kB / 0.678 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.5e-05/0.1781, allocations: 42.73 kB / 0.6781 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.1781, allocations: 8.844 kB / 0.6781 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.1783, allocations: 164.4 kB / 0.6782 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1783, allocations: 384 / 0.6782 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.1783, allocations: 4.375 kB / 0.6783 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1785, allocations: 42.25 kB / 0.6783 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1785, allocations: 3.938 kB / 0.6783 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1785, allocations: 0 / 0.6783 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1785, allocations: 0 / 0.6783 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.668e-05/0.1785, allocations: 11.94 kB / 0.6783 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.1787, allocations: 161.7 kB / 0.6785 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.179, allocations: 42.61 kB / 0.6785 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.882e-05/0.179, allocations: 20.94 kB / 0.6785 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.179, allocations: 0 / 0.6785 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1791, allocations: 34.56 kB / 0.6786 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1791, allocations: 4 kB / 0.6786 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006811/0.1798, allocations: 314.1 kB / 0.6789 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.1798, allocations: 55.34 kB / 0.6789 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.845e-05/0.1799, allocations: 102.2 kB / 0.679 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.1799, allocations: 25.7 kB / 0.679 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.18, allocations: 84.14 kB / 0.6791 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.18, allocations: 23.66 kB / 0.6791 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.1801, allocations: 29.64 kB / 0.6792 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1802, allocations: 314.8 kB / 0.6795 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.203e-05/0.1802, allocations: 8 kB / 0.6795 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.491e-05/0.1802, allocations: 15.98 kB / 0.6795 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.983e-05/0.1803, allocations: 32.86 kB / 0.6795 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1803, allocations: 0 / 0.6795 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001051/0.1804, allocations: 73.45 kB / 0.6796 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1804, allocations: 10.5 kB / 0.6796 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1805, allocations: 240 / 0.6796 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1805, allocations: 4 kB / 0.6796 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.181e-05/0.1805, allocations: 8.188 kB / 0.6796 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.1805, allocations: 7.984 kB / 0.6796 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.1806, allocations: 0 / 0.6796 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.1806, allocations: 3.984 kB / 0.6796 GB, free: 5.961 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 8.002e-05/0.1807, allocations: 117.8 kB / 0.6797 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.1807, allocations: 7.922 kB / 0.6797 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.1808, allocations: 69.59 kB / 0.6798 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1808, allocations: 4 kB / 0.6798 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1809, allocations: 4 kB / 0.6798 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1809, allocations: 3.984 kB / 0.6798 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.1812, allocations: 315.4 kB / 0.6801 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1812, allocations: 0 / 0.6801 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-05/0.1813, allocations: 12 kB / 0.6801 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1813, allocations: 0 / 0.6801 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.1813, allocations: 0 / 0.6801 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.1813, allocations: 192 / 0.6801 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1813, allocations: 11.98 kB / 0.6801 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.1815, allocations: 188.2 kB / 0.6803 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.1816, allocations: 85.12 kB / 0.6804 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.1816, allocations: 0 / 0.6804 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.1817, allocations: 4 kB / 0.6804 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.1817, allocations: 4 kB / 0.6804 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.1817, allocations: 0 / 0.6804 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.651e-05/0.1818, allocations: 87.33 kB / 0.6805 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1818, allocations: 0 / 0.6805 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002503/0.182, allocations: 20 kB / 0.6805 GB, free: 4.934 MB / 0.5137 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.0005316/0.1826, allocations: 0.7327 MB / 0.6812 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.1827, allocations: 36.05 kB / 0.6813 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1827, allocations: 0 / 0.6813 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.007e-05/0.1827, allocations: 19.94 kB / 0.6813 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.183, allocations: 0 / 0.6813 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.1841, allocations: 1.335 MB / 0.6826 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.1844, allocations: 0.6776 MB / 0.6832 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.127e-05/0.1844, allocations: 8.031 kB / 0.6833 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.1844, allocations: 11.44 kB / 0.6833 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.1844, allocations: 0 / 0.6833 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.2057, allocations: 1.643 MB / 0.6849 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.255, allocations: 11.5 kB / 0.6849 GB, free: 0.5156 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)