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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, 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.001154/0.001154, allocations: 196.1 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.002/1.002, allocations: 143.3 MB / 433.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 59.91 kB / 0.5144 GB, free: 11.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1652, allocations: 82.04 MB / 0.5945 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002301/0.1676, allocations: 1.268 MB / 0.5958 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.1687, allocations: 0.6227 MB / 0.5964 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.1687, allocations: 0 / 0.5964 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.1687, allocations: 3.938 kB / 0.5964 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.838e-05/0.1688, allocations: 0 / 0.5964 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005499/0.1693, allocations: 146.6 kB / 0.5965 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.017e-05/0.1694, allocations: 19.94 kB / 0.5965 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.1694, allocations: 3.984 kB / 0.5965 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.818e-05/0.1695, allocations: 11.92 kB / 0.5966 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.1695, allocations: 15.94 kB / 0.5966 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.1696, allocations: 0 / 0.5966 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005021/0.1701, allocations: 343.4 kB / 0.5969 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/0.1701, allocations: 0 / 0.5969 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.1701, allocations: 11.92 kB / 0.5969 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.1704, allocations: 155.8 kB / 0.5971 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1704, allocations: 0 / 0.5971 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1704, allocations: 0 / 0.5971 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.1704, allocations: 0 / 0.5971 GB, free: 6.762 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004379/0.1708, allocations: 367.3 kB / 0.5974 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1709, allocations: 12.03 kB / 0.5974 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.1709, allocations: 8.938 kB / 0.5974 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1711, allocations: 168.3 kB / 0.5976 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1711, allocations: 4.375 kB / 0.5976 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.1711, allocations: 4.375 kB / 0.5976 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.1712, allocations: 38.25 kB / 0.5976 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1712, allocations: 192 / 0.5976 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1712, allocations: 7.938 kB / 0.5976 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1712, allocations: 0 / 0.5976 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.935e-05/0.1713, allocations: 7.984 kB / 0.5977 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.1715, allocations: 165.7 kB / 0.5978 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.1717, allocations: 42.5 kB / 0.5978 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.457e-05/0.1717, allocations: 16.86 kB / 0.5979 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.1717, allocations: 0 / 0.5979 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.1718, allocations: 38.5 kB / 0.5979 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.1718, allocations: 4 kB / 0.5979 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005883/0.1724, allocations: 310.2 kB / 0.5982 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.1724, allocations: 55.41 kB / 0.5983 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.484e-05/0.1725, allocations: 97.86 kB / 0.5983 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.1725, allocations: 29.64 kB / 0.5984 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.1725, allocations: 80.14 kB / 0.5985 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.1725, allocations: 19.8 kB / 0.5985 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.1726, allocations: 21.72 kB / 0.5985 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.701e-05/0.1727, allocations: 310.8 kB / 0.5988 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.07e-05/0.1727, allocations: 19.92 kB / 0.5988 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.163e-05/0.1727, allocations: 12 kB / 0.5988 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.482e-05/0.1728, allocations: 28.84 kB / 0.5988 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1728, allocations: 0 / 0.5988 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001007/0.1729, allocations: 69.75 kB / 0.5989 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1729, allocations: 7.938 kB / 0.5989 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1729, allocations: 4.078 kB / 0.5989 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.173, allocations: 8.5 kB / 0.5989 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.195e-05/0.173, allocations: 11.94 kB / 0.5989 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.173, allocations: 3.984 kB / 0.5989 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.749e-05/0.173, allocations: 0 / 0.5989 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.1731, allocations: 4 kB / 0.599 GB, free: 4.551 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 (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 6.181e-05/0.1731, allocations: 109.8 kB / 0.5991 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.1731, allocations: 7.938 kB / 0.5991 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.1733, allocations: 69.64 kB / 0.5991 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1733, allocations: 3.984 kB / 0.5991 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1733, allocations: 8 kB / 0.5991 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1733, allocations: 0 / 0.5991 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.1736, allocations: 311.5 kB / 0.5994 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1736, allocations: 4 kB / 0.5994 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.152e-05/0.1737, allocations: 15.98 kB / 0.5995 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1737, allocations: 4 kB / 0.5995 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.1737, allocations: 3.938 kB / 0.5995 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1737, allocations: 0 / 0.5995 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1737, allocations: 0 / 0.5995 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.1739, allocations: 188.3 kB / 0.5996 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.1739, allocations: 81.05 kB / 0.5997 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.174, allocations: 7.969 kB / 0.5997 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.174, allocations: 0 / 0.5997 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.1741, allocations: 11.98 kB / 0.5997 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.1741, allocations: 0 / 0.5997 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.101e-05/0.1741, allocations: 83.34 kB / 0.5998 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1741, allocations: 0 / 0.5998 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002435/0.1744, allocations: 23.94 kB / 0.5998 GB, free: 3.52 MB / 0.4981 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.0001706/0.1745, allocations: 131.1 kB / 0.6 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.851e-05/0.1747, allocations: 28 kB / 0.6 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1747, allocations: 0 / 0.6 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.112e-05/0.1747, allocations: 23.92 kB / 0.6 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.1749, allocations: 14.84 kB / 0.6 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.1753, allocations: 200.1 kB / 0.6002 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.1756, allocations: 0.6768 MB / 0.6009 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.861e-05/0.1756, allocations: 4 kB / 0.6009 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.649e-05/0.1756, allocations: 11.44 kB / 0.6009 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1756, allocations: 0 / 0.6009 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of Templates: time 0.002593/0.1782, allocations: 0.6587 MB / 0.6015 GB, free: 1.75 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)