Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.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_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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.001102/0.001102, allocations: 100.2 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.001083/0.001083, allocations: 177.3 kB / 15.94 MB, free: 228 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.353/1.353, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.993/0.993, allocations: 143.3 MB / 434.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003365, allocations: 8 kB / 0.5159 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1727, 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_DerivativeCheck): time 0.001484/0.1742, allocations: 0.9706 MB / 0.5983 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006277/0.1749, allocations: 347.2 kB / 0.5986 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/0.175, allocations: 4 kB / 0.5986 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.232e-05/0.175, allocations: 7.938 kB / 0.5987 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.903e-05/0.175, allocations: 3.984 kB / 0.5987 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.1754, allocations: 75.72 kB / 0.5987 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.931e-05/0.1755, allocations: 15.91 kB / 0.5987 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.1755, allocations: 0 / 0.5987 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.443e-05/0.1756, allocations: 7.984 kB / 0.5988 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.06e-05/0.1756, allocations: 11.94 kB / 0.5988 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.1756, allocations: 4 kB / 0.5988 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.1759, allocations: 179.7 kB / 0.5989 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.176, allocations: 4 kB / 0.5989 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.176, allocations: 29.7 kB / 0.599 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.1762, allocations: 56.16 kB / 0.599 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.1762, allocations: 0 / 0.599 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1762, allocations: 0 / 0.599 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.1762, allocations: 0 / 0.599 GB, free: 6.062 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.0003822/0.1766, allocations: 339.3 kB / 0.5993 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1766, allocations: 8.031 kB / 0.5994 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.167e-05/0.1767, allocations: 34.55 kB / 0.5994 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.1767, allocations: 3.953 kB / 0.5994 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.1768, allocations: 171 kB / 0.5996 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1769, allocations: 0 / 0.5996 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.1769, allocations: 7.938 kB / 0.5996 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.177, allocations: 37.69 kB / 0.5996 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.177, allocations: 0 / 0.5996 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.177, allocations: 0 / 0.5996 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.177, allocations: 3.984 kB / 0.5996 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.408e-05/0.1771, allocations: 15.98 kB / 0.5996 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.1773, allocations: 157.7 kB / 0.5998 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.1775, allocations: 54.5 kB / 0.5998 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.1775, allocations: 3.984 kB / 0.5998 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.1775, allocations: 30.56 kB / 0.5999 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1775, allocations: 0 / 0.5999 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006303/0.1782, allocations: 314.2 kB / 0.6002 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.1782, allocations: 59.41 kB / 0.6002 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.891e-05/0.1783, allocations: 93.84 kB / 0.6003 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.1783, allocations: 29.7 kB / 0.6003 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.1784, allocations: 84.14 kB / 0.6004 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.1784, allocations: 11.72 kB / 0.6004 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.1784, allocations: 8 kB / 0.6004 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1785, allocations: 318.8 kB / 0.6007 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.629e-05/0.1786, allocations: 8 kB / 0.6007 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.086e-05/0.1786, allocations: 19.94 kB / 0.6008 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.561e-05/0.1786, allocations: 12 kB / 0.6008 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.1786, allocations: 0 / 0.6008 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001035/0.1788, allocations: 69.58 kB / 0.6008 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1788, allocations: 4 kB / 0.6008 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1788, allocations: 0 / 0.6008 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1788, allocations: 0 / 0.6008 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.561e-05/0.1789, allocations: 11.98 kB / 0.6009 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1789, allocations: 4 kB / 0.6009 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.1789, allocations: 4 kB / 0.6009 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.1789, allocations: 0 / 0.6009 GB, free: 3.914 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.538e-05/0.179, allocations: 124.1 kB / 0.601 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.179, allocations: 0 / 0.601 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.1792, allocations: 73.64 kB / 0.601 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1792, allocations: 4 kB / 0.6011 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1792, allocations: 0 / 0.6011 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1792, allocations: 3.938 kB / 0.6011 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003702/0.1796, allocations: 319.3 kB / 0.6014 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1796, allocations: 0 / 0.6014 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.27e-05/0.1797, allocations: 15.98 kB / 0.6014 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1797, allocations: 0 / 0.6014 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1797, allocations: 0 / 0.6014 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1797, allocations: 0 / 0.6014 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.1797, allocations: 4 kB / 0.6014 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.1799, allocations: 198.1 kB / 0.6016 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.18, allocations: 81.11 kB / 0.6016 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.18, allocations: 8.609 kB / 0.6017 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.919e-05/0.1801, allocations: 0 / 0.6017 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.1801, allocations: 11.94 kB / 0.6017 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.1801, allocations: 0 / 0.6017 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.333e-05/0.1802, allocations: 87.27 kB / 0.6017 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1802, allocations: 0 / 0.6017 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000247/0.1804, allocations: 23.94 kB / 0.6018 GB, free: 2.859 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0005889/0.181, allocations: 0.8073 MB / 0.6026 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.872e-05/0.1811, allocations: 31.98 kB / 0.6026 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1812, allocations: 0 / 0.6026 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.982e-05/0.1812, allocations: 24 kB / 0.6026 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.1814, allocations: 11.94 kB / 0.6026 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007817/0.1821, allocations: 491.7 kB / 0.6031 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.1825, allocations: 0.6809 MB / 0.6038 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.663e-05/0.1825, allocations: 12.03 kB / 0.6038 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.51e-05/0.1826, allocations: 23.48 kB / 0.6038 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1826, allocations: 0 / 0.6038 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.285/0.4676, allocations: 1.363 MB / 0.6051 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/0.4678, allocations: 232.5 kB / 0.6053 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.058, allocations: 1.75 kB / 0.6053 GB, free: 39.99 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) Environment - environmentSimulation: