Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.001225/0.001224, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001369/0.001369, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9735/0.9735, allocations: 143.3 MB / 434.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003536, allocations: 12 kB / 0.5159 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1735, allocations: 83.41 MB / 0.5974 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001308/0.1749, allocations: 0.994 MB / 0.5983 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006004/0.1755, allocations: 355.1 kB / 0.5987 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.1755, allocations: 3.938 kB / 0.5987 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.1755, allocations: 0 / 0.5987 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.105e-05/0.1756, allocations: 0 / 0.5987 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.1759, allocations: 79.7 kB / 0.5988 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.278e-05/0.176, allocations: 19.95 kB / 0.5988 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.176, allocations: 8 kB / 0.5988 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.522e-05/0.1761, allocations: 11.94 kB / 0.5988 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.048e-05/0.1761, allocations: 15.98 kB / 0.5988 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.1762, allocations: 0 / 0.5988 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/0.1765, allocations: 183.7 kB / 0.599 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.1765, allocations: 3.984 kB / 0.599 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.1765, allocations: 33.64 kB / 0.599 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.1767, allocations: 56.16 kB / 0.5991 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1767, allocations: 0 / 0.5991 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1767, allocations: 0 / 0.5991 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.1767, allocations: 0 / 0.5991 GB, free: 6.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000375/0.1771, allocations: 357.7 kB / 0.5994 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1771, allocations: 8.031 kB / 0.5994 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.606e-05/0.1771, allocations: 30.56 kB / 0.5994 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.1772, allocations: 7.953 kB / 0.5995 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.1773, allocations: 167 kB / 0.5996 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1773, allocations: 4 kB / 0.5996 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.1773, allocations: 3.984 kB / 0.5996 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.1775, allocations: 49.69 kB / 0.5997 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1775, allocations: 7.938 kB / 0.5997 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.1775, allocations: 0 / 0.5997 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1775, allocations: 0 / 0.5997 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.809e-05/0.1776, allocations: 23.94 kB / 0.5997 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.1777, allocations: 169.5 kB / 0.5999 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.584e-05/0.1778, allocations: 54.56 kB / 0.5999 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.1779, allocations: 7.984 kB / 0.5999 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1779, allocations: 34.56 kB / 0.6 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/0.1779, allocations: 0 / 0.6 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001047/0.1789, allocations: 0.5878 MB / 0.6005 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.179, allocations: 55.36 kB / 0.6006 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.85e-05/0.1791, allocations: 101.9 kB / 0.6007 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1791, allocations: 25.7 kB / 0.6007 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.1791, allocations: 80.14 kB / 0.6008 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.1792, allocations: 47.44 kB / 0.6008 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.1792, allocations: 0 / 0.6008 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1793, allocations: 314.8 kB / 0.6011 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.845e-05/0.1793, allocations: 19.98 kB / 0.6011 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.711e-05/0.1794, allocations: 27.48 kB / 0.6012 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.583e-05/0.1794, allocations: 28.12 kB / 0.6012 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.1795, allocations: 0 / 0.6012 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001445/0.1796, allocations: 105.5 kB / 0.6013 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1796, allocations: 4 kB / 0.6013 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1796, allocations: 0 / 0.6013 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1796, allocations: 0 / 0.6013 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.1797, allocations: 23.98 kB / 0.6013 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1798, allocations: 0 / 0.6013 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.515e-05/0.1798, allocations: 3.953 kB / 0.6013 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1798, allocations: 8 kB / 0.6013 GB, free: 3.395 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.778e-05/0.1799, allocations: 125.8 kB / 0.6015 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.1799, allocations: 0 / 0.6015 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.1801, allocations: 109.5 kB / 0.6016 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1801, allocations: 0 / 0.6016 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1801, allocations: 0 / 0.6016 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1801, allocations: 0 / 0.6016 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.1805, allocations: 350.5 kB / 0.6019 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1805, allocations: 0 / 0.6019 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.1807, allocations: 31.92 kB / 0.6019 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1807, allocations: 0 / 0.6019 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1807, allocations: 4 kB / 0.6019 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1807, allocations: 4 kB / 0.6019 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1807, allocations: 7.938 kB / 0.6019 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.1809, allocations: 211.8 kB / 0.6021 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.181, allocations: 88.98 kB / 0.6022 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.181, allocations: 0 / 0.6022 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.471e-05/0.1811, allocations: 8.062 kB / 0.6022 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.1811, allocations: 11.94 kB / 0.6022 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.1812, allocations: 4 kB / 0.6022 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.047e-05/0.1812, allocations: 75.28 kB / 0.6023 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1812, allocations: 7.938 kB / 0.6023 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002559/0.1815, allocations: 32 kB / 0.6024 GB, free: 2.234 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005697/0.182, allocations: 0.7906 MB / 0.6031 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.1822, allocations: 55.92 kB / 0.6032 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1822, allocations: 0 / 0.6032 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.736e-05/0.1822, allocations: 39.92 kB / 0.6032 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.1824, allocations: 0 / 0.6032 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009181/0.1833, allocations: 0.6499 MB / 0.6039 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3189/0.5022, allocations: 0.6857 MB / 0.6045 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.916e-05/0.5023, allocations: 9.5 kB / 0.6045 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/0.5024, allocations: 18.03 kB / 0.6046 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of SimCode: time 8.32e-07/0.5024, allocations: 2.516 kB / 0.6046 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01051/0.5129, allocations: 1.82 MB / 0.6063 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001316/0.5131, allocations: 232.1 kB / 0.6066 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.104, allocations: 0 / 0.6066 GB, free: 39.81 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) Environment - environmentSimulation: