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.00127/0.00127, allocations: 106.6 kB / 16.41 MB, free: 6.469 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.001259/0.001259, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.342/1.342, 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.8649/0.8649, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 71.12 kB / 0.5962 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.15, allocations: 82.02 MB / 0.6763 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002325/0.1524, allocations: 1.288 MB / 0.6776 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1534, allocations: 0.6152 MB / 0.6782 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.311e-05/0.1535, allocations: 0 / 0.6782 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/0.1535, allocations: 0 / 0.6782 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.452e-05/0.1535, allocations: 11.92 kB / 0.6782 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.154, allocations: 142.5 kB / 0.6783 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.665e-05/0.1541, allocations: 27.86 kB / 0.6783 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.1541, allocations: 3.984 kB / 0.6783 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.919e-05/0.1542, allocations: 8 kB / 0.6784 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.556e-05/0.1542, allocations: 7.938 kB / 0.6784 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.1542, allocations: 0 / 0.6784 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005035/0.1547, allocations: 347.3 kB / 0.6787 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.337e-06/0.1547, allocations: 4 kB / 0.6787 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.1548, allocations: 15.92 kB / 0.6787 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.155, allocations: 147.5 kB / 0.6789 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.155, allocations: 4 kB / 0.6789 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.155, allocations: 0 / 0.6789 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.155, allocations: 0 / 0.6789 GB, free: 7.863 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.0004564/0.1555, allocations: 363.1 kB / 0.6792 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1555, allocations: 8.031 kB / 0.6792 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.1555, allocations: 0.9375 kB / 0.6792 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.1557, allocations: 184.2 kB / 0.6794 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1557, allocations: 384 / 0.6794 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.1557, allocations: 384 / 0.6794 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.1558, allocations: 42.25 kB / 0.6794 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1558, allocations: 192 / 0.6794 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1558, allocations: 3.938 kB / 0.6794 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1558, allocations: 0 / 0.6794 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.808e-05/0.1559, allocations: 19.92 kB / 0.6794 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.1561, allocations: 153.7 kB / 0.6796 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.1563, allocations: 46.56 kB / 0.6796 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.527e-05/0.1563, allocations: 20.84 kB / 0.6797 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.1563, allocations: 0 / 0.6797 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.1563, allocations: 34.56 kB / 0.6797 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1563, allocations: 0 / 0.6797 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006288/0.157, allocations: 306.3 kB / 0.68 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.157, allocations: 55.41 kB / 0.68 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.247e-05/0.1571, allocations: 97.86 kB / 0.6801 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1571, allocations: 25.7 kB / 0.6802 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.1572, allocations: 80.14 kB / 0.6802 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.1572, allocations: 27.78 kB / 0.6803 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.1572, allocations: 21.66 kB / 0.6803 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1574, allocations: 322.8 kB / 0.6806 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.484e-05/0.1574, allocations: 8 kB / 0.6806 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.427e-05/0.1574, allocations: 15.98 kB / 0.6806 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.108e-05/0.1575, allocations: 40.78 kB / 0.6806 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.1575, allocations: 0 / 0.6806 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001097/0.1576, allocations: 65.59 kB / 0.6807 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1576, allocations: 13.95 kB / 0.6807 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1576, allocations: 0 / 0.6807 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1576, allocations: 0 / 0.6807 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.959e-05/0.1577, allocations: 12 kB / 0.6807 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1577, allocations: 0 / 0.6807 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.883e-05/0.1577, allocations: 4 kB / 0.6807 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.1577, allocations: 4 kB / 0.6807 GB, free: 5.656 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 7.62e-05/0.1578, allocations: 110.5 kB / 0.6808 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.1578, allocations: 3.938 kB / 0.6809 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.1579, allocations: 81.58 kB / 0.6809 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.1579, allocations: 0 / 0.6809 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1579, allocations: 0 / 0.6809 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1579, allocations: 0 / 0.6809 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.1583, allocations: 315.5 kB / 0.6812 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1583, allocations: 4 kB / 0.6812 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.344e-05/0.1583, allocations: 15.98 kB / 0.6813 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1584, allocations: 0 / 0.6813 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.1584, allocations: 0 / 0.6813 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1584, allocations: 4 kB / 0.6813 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1584, allocations: 0 / 0.6813 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.1586, allocations: 192.2 kB / 0.6814 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.1586, allocations: 81.14 kB / 0.6815 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.1586, allocations: 4 kB / 0.6815 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.1587, allocations: 3.984 kB / 0.6815 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.1587, allocations: 4 kB / 0.6815 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.1587, allocations: 4 kB / 0.6815 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.442e-05/0.1588, allocations: 75.8 kB / 0.6816 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1588, allocations: 0 / 0.6816 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002378/0.159, allocations: 23.94 kB / 0.6816 GB, free: 4.641 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.0001851/0.1592, allocations: 139 kB / 0.6818 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.1593, allocations: 35.92 kB / 0.6818 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1593, allocations: 0 / 0.6818 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.778e-05/0.1593, allocations: 16 kB / 0.6818 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.1595, allocations: 8.953 kB / 0.6818 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.16, allocations: 225.9 kB / 0.682 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.1603, allocations: 0.6807 MB / 0.6827 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.1603, allocations: 15.44 kB / 0.6827 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1603, allocations: 4 kB / 0.6827 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of Templates: time 0.00235/0.1626, allocations: 0.8142 MB / 0.6835 GB, free: 2.645 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)