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: 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.001475/0.001475, allocations: 104.6 kB / 16.4 MB, free: 6.496 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.001545/0.001545, allocations: 192.1 kB / 17.34 MB, free: 5.766 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.363/1.363, allocations: 222.9 MB / 241 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.8605/0.8605, allocations: 143 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 67.64 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1626, allocations: 82.03 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002792/0.1655, allocations: 1.284 MB / 0.6776 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1666, allocations: 0.6113 MB / 0.6782 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.953e-05/0.1667, allocations: 0 / 0.6782 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.083e-05/0.1667, allocations: 0 / 0.6782 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.644e-05/0.1668, allocations: 11.92 kB / 0.6782 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006936/0.1675, allocations: 143.4 kB / 0.6783 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.253e-05/0.1676, allocations: 19.86 kB / 0.6783 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.414e-05/0.1676, allocations: 7.984 kB / 0.6783 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.077e-05/0.1677, allocations: 8 kB / 0.6783 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.951e-05/0.1678, allocations: 15.92 kB / 0.6783 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.1678, allocations: 3.938 kB / 0.6784 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005597/0.1683, allocations: 343.4 kB / 0.6787 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.1684, allocations: 4 kB / 0.6787 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.1684, allocations: 7.938 kB / 0.6787 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.1687, allocations: 147.6 kB / 0.6788 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1687, allocations: 0 / 0.6788 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.274e-06/0.1687, allocations: 0 / 0.6788 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.1687, allocations: 0 / 0.6788 GB, free: 7.75 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.0004893/0.1692, allocations: 359.5 kB / 0.6792 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1693, allocations: 12.03 kB / 0.6792 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.1693, allocations: 4.844 kB / 0.6792 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.1695, allocations: 172.3 kB / 0.6794 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1695, allocations: 4.375 kB / 0.6794 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.1695, allocations: 4.375 kB / 0.6794 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.1696, allocations: 42.25 kB / 0.6794 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1696, allocations: 192 / 0.6794 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1697, allocations: 3.938 kB / 0.6794 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1697, allocations: 0 / 0.6794 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.4e-05/0.1697, allocations: 15.98 kB / 0.6794 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.1699, allocations: 161.6 kB / 0.6796 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.1701, allocations: 42.55 kB / 0.6796 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.1702, allocations: 20.94 kB / 0.6796 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.1702, allocations: 0 / 0.6796 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.1703, allocations: 34.56 kB / 0.6797 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1703, allocations: 4 kB / 0.6797 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006778/0.1709, allocations: 306.2 kB / 0.68 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.171, allocations: 51.41 kB / 0.68 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.633e-05/0.1711, allocations: 97.84 kB / 0.6801 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1711, allocations: 29.7 kB / 0.6801 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.1711, allocations: 84.14 kB / 0.6802 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.1712, allocations: 19.7 kB / 0.6802 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/0.1712, allocations: 25.72 kB / 0.6803 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1714, allocations: 314.8 kB / 0.6806 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.074e-05/0.1714, allocations: 11.98 kB / 0.6806 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.398e-05/0.1714, allocations: 15.92 kB / 0.6806 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.076e-05/0.1715, allocations: 32.86 kB / 0.6806 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1715, allocations: 0 / 0.6806 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001197/0.1716, allocations: 65.67 kB / 0.6807 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1717, allocations: 7.938 kB / 0.6807 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1717, allocations: 4.062 kB / 0.6807 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1717, allocations: 4 kB / 0.6807 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.252e-05/0.1718, allocations: 19.98 kB / 0.6807 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1718, allocations: 3.938 kB / 0.6807 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.801e-05/0.1718, allocations: 3.938 kB / 0.6807 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1718, allocations: 4 kB / 0.6807 GB, free: 5.535 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 9.011e-05/0.1719, allocations: 110.5 kB / 0.6808 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.1719, allocations: 11.84 kB / 0.6808 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.1721, allocations: 73.58 kB / 0.6809 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1721, allocations: 0 / 0.6809 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1721, allocations: 4 kB / 0.6809 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1721, allocations: 0 / 0.6809 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/0.1725, allocations: 311.4 kB / 0.6812 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1725, allocations: 4 kB / 0.6812 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.1726, allocations: 8 kB / 0.6812 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1726, allocations: 3.984 kB / 0.6812 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1726, allocations: 4 kB / 0.6812 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1726, allocations: 3.938 kB / 0.6812 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1726, allocations: 0 / 0.6812 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.1728, allocations: 180.4 kB / 0.6814 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/0.1729, allocations: 93.55 kB / 0.6815 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.1729, allocations: 0 / 0.6815 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.388e-05/0.173, allocations: 4 kB / 0.6815 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.173, allocations: 4.172 kB / 0.6815 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.1731, allocations: 8 kB / 0.6815 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.94e-05/0.1731, allocations: 87.33 kB / 0.6816 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1731, allocations: 0 / 0.6816 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002591/0.1734, allocations: 20 kB / 0.6816 GB, free: 4.512 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.0002152/0.1736, allocations: 127.1 kB / 0.6817 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.1738, allocations: 35.98 kB / 0.6818 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1738, allocations: 0 / 0.6818 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.94e-05/0.1738, allocations: 23.92 kB / 0.6818 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.1741, allocations: 13.22 kB / 0.6818 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005059/0.1746, allocations: 212.9 kB / 0.682 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.1749, allocations: 0.6807 MB / 0.6827 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.1749, allocations: 19.36 kB / 0.6827 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1749, allocations: 3.938 kB / 0.6827 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.002581/0.1775, allocations: 0.8137 MB / 0.6835 GB, free: 2.531 MB / 0.5137 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)