Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",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.001193/0.001193, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 192.8 kB / 16.64 MB, free: 6.594 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.357/1.357, allocations: 222.9 MB / 240.3 MB, free: 4.363 MB / 190.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 1.012/1.012, allocations: 143 MB / 433.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.91 kB / 0.5144 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1681, allocations: 82.04 MB / 0.5946 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002864/0.171, allocations: 1.466 MB / 0.596 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.1723, allocations: 0.6383 MB / 0.5966 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.292e-05/0.1723, allocations: 3.938 kB / 0.5966 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.1724, allocations: 3.938 kB / 0.5966 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.514e-05/0.1724, allocations: 7.922 kB / 0.5966 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.1731, allocations: 163.3 kB / 0.5968 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.78e-05/0.1732, allocations: 47.91 kB / 0.5968 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.659e-05/0.1733, allocations: 4 kB / 0.5968 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.395e-05/0.1734, allocations: 27.91 kB / 0.5969 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.026e-05/0.1734, allocations: 23.86 kB / 0.5969 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.1734, allocations: 7.938 kB / 0.5969 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005214/0.174, allocations: 351.3 kB / 0.5972 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.324e-05/0.174, allocations: 11.98 kB / 0.5972 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.174, allocations: 19.88 kB / 0.5973 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.1743, allocations: 191.1 kB / 0.5974 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1744, allocations: 0 / 0.5974 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1744, allocations: 0 / 0.5974 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.1744, allocations: 0 / 0.5974 GB, free: 6.41 MB / 0.4981 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.0006909/0.1751, allocations: 395.3 kB / 0.5978 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.1751, allocations: 12.62 kB / 0.5978 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.244e-05/0.1752, allocations: 34.75 kB / 0.5979 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.1752, allocations: 12.78 kB / 0.5979 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.1754, allocations: 168.4 kB / 0.598 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.1754, allocations: 8.375 kB / 0.598 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.1754, allocations: 12.38 kB / 0.598 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.1757, allocations: 74.22 kB / 0.5981 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1757, allocations: 3.938 kB / 0.5981 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1757, allocations: 0 / 0.5981 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1757, allocations: 4 kB / 0.5981 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/0.176, allocations: 51.89 kB / 0.5982 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005612/0.1766, allocations: 332.6 kB / 0.5985 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.1768, allocations: 78.47 kB / 0.5986 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.177, allocations: 28.84 kB / 0.5986 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.177, allocations: 4 kB / 0.5986 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.177, allocations: 34.56 kB / 0.5986 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.177, allocations: 0 / 0.5986 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001625/0.1787, allocations: 0.6424 MB / 0.5993 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.1787, allocations: 59.33 kB / 0.5993 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.37e-05/0.1788, allocations: 101.8 kB / 0.5994 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.1788, allocations: 29.7 kB / 0.5994 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.1789, allocations: 92.03 kB / 0.5995 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.1789, allocations: 35.41 kB / 0.5996 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/0.179, allocations: 37.7 kB / 0.5996 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.1791, allocations: 318.8 kB / 0.5999 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.1793, allocations: 27.98 kB / 0.5999 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.1794, allocations: 31.97 kB / 0.6 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.1796, allocations: 80.89 kB / 0.6 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1796, allocations: 0 / 0.6 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003168/0.18, allocations: 116.2 kB / 0.6001 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.18, allocations: 11.94 kB / 0.6002 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.18, allocations: 4 kB / 0.6002 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.18, allocations: 3.984 kB / 0.6002 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.1802, allocations: 31.92 kB / 0.6002 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1802, allocations: 3.938 kB / 0.6002 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.063e-05/0.1803, allocations: 7.984 kB / 0.6002 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1803, allocations: 4 kB / 0.6002 GB, free: 3.242 MB / 0.4981 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 9.295e-05/0.1804, allocations: 121.8 kB / 0.6003 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.1804, allocations: 7.906 kB / 0.6003 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003439/0.1808, allocations: 125.5 kB / 0.6005 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1808, allocations: 0 / 0.6005 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1808, allocations: 7.875 kB / 0.6005 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1808, allocations: 4 kB / 0.6005 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005425/0.1813, allocations: 374.5 kB / 0.6008 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1814, allocations: 0 / 0.6008 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.1815, allocations: 27.97 kB / 0.6009 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/0.1815, allocations: 7.938 kB / 0.6009 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1815, allocations: 7.875 kB / 0.6009 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1815, allocations: 0 / 0.6009 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1815, allocations: 0 / 0.6009 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000499/0.182, allocations: 251.7 kB / 0.6011 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.1821, allocations: 81.14 kB / 0.6012 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.1821, allocations: 7.938 kB / 0.6012 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.1822, allocations: 7.984 kB / 0.6012 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.1823, allocations: 4 kB / 0.6012 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.1823, allocations: 11.98 kB / 0.6012 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.306e-05/0.1823, allocations: 79.28 kB / 0.6013 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1823, allocations: 3.938 kB / 0.6013 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002869/0.1826, allocations: 40.06 kB / 0.6013 GB, free: 1.984 MB / 0.4981 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.0008472/0.1835, allocations: 0.8176 MB / 0.6021 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003436/0.1838, allocations: 91.89 kB / 0.6022 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1838, allocations: 0 / 0.6022 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.184, allocations: 43.97 kB / 0.6023 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.1843, allocations: 8 kB / 0.6023 GB, free: 1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2742/0.4586, allocations: 1.595 MB / 0.6038 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.4587, allocations: 0.6914 MB / 0.6045 GB, free: 42.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.501e-05/0.4588, allocations: 11.44 kB / 0.6045 GB, free: 42.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.4589, allocations: 24.48 kB / 0.6045 GB, free: 42.25 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.4589, allocations: 0 / 0.6045 GB, free: 42.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.4787, allocations: 2.336 MB / 0.6068 GB, free: 41.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.809/8.287, allocations: 13.97 kB / 0.6068 GB, free: 41.98 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)