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.001082/0.001082, allocations: 108 kB / 15.6 MB, free: 132 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.001135/0.001135, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.43 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 0.9762/0.9762, allocations: 143 MB / 433.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 60.14 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1517, allocations: 82.05 MB / 0.5944 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002895/0.1547, allocations: 1.462 MB / 0.5958 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1558, allocations: 0.6345 MB / 0.5964 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.368e-05/0.1559, allocations: 3.938 kB / 0.5965 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.1559, allocations: 0 / 0.5965 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.895e-05/0.156, allocations: 11.86 kB / 0.5965 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006253/0.1566, allocations: 163.3 kB / 0.5966 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.812e-05/0.1567, allocations: 55.78 kB / 0.5967 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.289e-05/0.1568, allocations: 8 kB / 0.5967 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.815e-05/0.1568, allocations: 19.92 kB / 0.5967 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.14e-05/0.1569, allocations: 27.91 kB / 0.5967 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1569, allocations: 4 kB / 0.5967 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000535/0.1575, allocations: 339.3 kB / 0.5971 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.104e-05/0.1575, allocations: 19.91 kB / 0.5971 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.1576, allocations: 27.86 kB / 0.5971 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003669/0.1579, allocations: 179.8 kB / 0.5973 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.1579, allocations: 3.984 kB / 0.5973 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.158, allocations: 0 / 0.5973 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.974e-06/0.158, allocations: 0 / 0.5973 GB, free: 6.516 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.0007566/0.1587, allocations: 399.3 kB / 0.5977 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1588, allocations: 8.625 kB / 0.5977 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.316e-05/0.1588, allocations: 42.73 kB / 0.5977 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.1589, allocations: 8.844 kB / 0.5977 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.159, allocations: 172.3 kB / 0.5979 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.1591, allocations: 4.375 kB / 0.5979 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.1591, allocations: 8.375 kB / 0.5979 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.1594, allocations: 74.22 kB / 0.598 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.1594, allocations: 7.938 kB / 0.598 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1594, allocations: 3.984 kB / 0.598 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1595, allocations: 0 / 0.598 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.1597, allocations: 47.97 kB / 0.598 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.1603, allocations: 332.5 kB / 0.5983 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.1606, allocations: 78.53 kB / 0.5984 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.1608, allocations: 32.84 kB / 0.5984 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.1608, allocations: 4 kB / 0.5984 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1608, allocations: 34.5 kB / 0.5985 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.1608, allocations: 0 / 0.5985 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001624/0.1625, allocations: 0.6501 MB / 0.5991 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.1625, allocations: 51.41 kB / 0.5992 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.959e-05/0.1626, allocations: 105.8 kB / 0.5993 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1626, allocations: 25.7 kB / 0.5993 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.1627, allocations: 96.05 kB / 0.5994 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.1627, allocations: 35.45 kB / 0.5994 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.1628, allocations: 29.7 kB / 0.5994 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1629, allocations: 318.8 kB / 0.5997 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.163, allocations: 32.06 kB / 0.5998 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.1632, allocations: 31.92 kB / 0.5998 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.1635, allocations: 80.08 kB / 0.5999 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1635, allocations: 3.938 kB / 0.5999 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003284/0.1638, allocations: 117.6 kB / 0.6 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1638, allocations: 4 kB / 0.6 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1638, allocations: 3.938 kB / 0.6 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1639, allocations: 4 kB / 0.6 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.164, allocations: 27.97 kB / 0.6 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.164, allocations: 3.938 kB / 0.6 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.982e-05/0.1641, allocations: 8 kB / 0.6 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.1641, allocations: 8 kB / 0.6001 GB, free: 3.348 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 8.502e-05/0.1642, allocations: 113.8 kB / 0.6002 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.1643, allocations: 7.906 kB / 0.6002 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003833/0.1647, allocations: 129.5 kB / 0.6003 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1647, allocations: 0 / 0.6003 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1647, allocations: 3.938 kB / 0.6003 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1647, allocations: 4 kB / 0.6003 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005383/0.1652, allocations: 386.4 kB / 0.6007 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1653, allocations: 0 / 0.6007 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.1654, allocations: 23.98 kB / 0.6007 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1654, allocations: 3.938 kB / 0.6007 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.1654, allocations: 8 kB / 0.6007 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1654, allocations: 0 / 0.6007 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.1654, allocations: 4 kB / 0.6007 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004881/0.1659, allocations: 255.6 kB / 0.6009 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.166, allocations: 81.09 kB / 0.601 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.166, allocations: 7.969 kB / 0.601 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.1661, allocations: 7.938 kB / 0.601 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.1662, allocations: 11.98 kB / 0.6011 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.1662, allocations: 8.062 kB / 0.6011 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.56e-05/0.1662, allocations: 75.28 kB / 0.6011 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1662, allocations: 0 / 0.6011 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002776/0.1665, allocations: 43.98 kB / 0.6012 GB, free: 2.086 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.0008463/0.1674, allocations: 0.8255 MB / 0.602 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003203/0.1677, allocations: 87.89 kB / 0.6021 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1677, allocations: 0 / 0.6021 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.1679, allocations: 43.97 kB / 0.6021 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.1682, allocations: 8 kB / 0.6021 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2205/0.3887, allocations: 1.587 MB / 0.6037 GB, free: 43.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.699e-05/0.3888, allocations: 0.699 MB / 0.6043 GB, free: 42.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.484e-05/0.3889, allocations: 7 kB / 0.6044 GB, free: 42.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.389, allocations: 27.45 kB / 0.6044 GB, free: 42.4 MB / 0.4981 GB Notification: Performance of SimCode: time 7.61e-07/0.389, allocations: 1.375 kB / 0.6044 GB, free: 42.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.406, allocations: 2.307 MB / 0.6066 GB, free: 42.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.367/7.773, allocations: 16.8 kB / 0.6067 GB, free: 42.13 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)