Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006419/0.006419, allocations: 99.62 kB / 15.73 MB, free: 6.012 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.001422/0.001422, allocations: 187.8 kB / 16.67 MB, free: 5.949 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 283 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9113/0.9113, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 87.86 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1546, allocations: 86.99 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001949/0.1566, allocations: 1.262 MB / 0.7676 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009267/0.1575, allocations: 0.6188 MB / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.243e-05/0.1575, allocations: 0 / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.1576, allocations: 0 / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.815e-05/0.1576, allocations: 3.938 kB / 0.7682 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.1581, allocations: 142.8 kB / 0.7684 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.339e-05/0.1582, allocations: 23.92 kB / 0.7684 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.069e-05/0.1582, allocations: 4 kB / 0.7684 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.33e-05/0.1582, allocations: 7.938 kB / 0.7684 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.392e-05/0.1583, allocations: 7.984 kB / 0.7684 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.1583, allocations: 0 / 0.7684 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004457/0.1587, allocations: 347.3 kB / 0.7687 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.1588, allocations: 4 kB / 0.7687 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.1588, allocations: 11.92 kB / 0.7688 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.159, allocations: 147.6 kB / 0.7689 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.159, allocations: 0 / 0.7689 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.203e-06/0.159, allocations: 3.938 kB / 0.7689 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.159, allocations: 4 kB / 0.7689 GB, free: 5.855 MB / 0.5606 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.0003522/0.1594, allocations: 359.4 kB / 0.7692 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.1594, allocations: 12.03 kB / 0.7693 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.1595, allocations: 0.9375 kB / 0.7693 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.574e-05/0.1596, allocations: 164.4 kB / 0.7694 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-06/0.1596, allocations: 8.375 kB / 0.7694 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.1596, allocations: 384 / 0.7694 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.395e-05/0.1597, allocations: 46.19 kB / 0.7695 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.1597, allocations: 4.125 kB / 0.7695 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1597, allocations: 7.938 kB / 0.7695 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1597, allocations: 0 / 0.7695 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.267e-05/0.1598, allocations: 8 kB / 0.7695 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.1599, allocations: 161.6 kB / 0.7696 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.1601, allocations: 38.61 kB / 0.7697 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.1601, allocations: 24.88 kB / 0.7697 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.1601, allocations: 0 / 0.7697 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.1602, allocations: 38.56 kB / 0.7697 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 2.004e-06/0.1602, allocations: 3.984 kB / 0.7697 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0005213/0.1607, allocations: 310.2 kB / 0.77 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.1607, allocations: 51.41 kB / 0.7701 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.685e-05/0.1608, allocations: 101.8 kB / 0.7702 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1608, allocations: 25.7 kB / 0.7702 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.871e-05/0.1609, allocations: 88.14 kB / 0.7703 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.1609, allocations: 23.59 kB / 0.7703 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.1609, allocations: 25.7 kB / 0.7703 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.161, allocations: 310.8 kB / 0.7706 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.314e-05/0.1611, allocations: 8 kB / 0.7706 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.191e-05/0.1611, allocations: 15.98 kB / 0.7707 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.163e-05/0.1611, allocations: 32.8 kB / 0.7707 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1612, allocations: 0 / 0.7707 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.888e-05/0.1612, allocations: 65.69 kB / 0.7707 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1613, allocations: 11.94 kB / 0.7708 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.1613, allocations: 0 / 0.7708 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.1613, allocations: 0 / 0.7708 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.016e-05/0.1613, allocations: 15.98 kB / 0.7708 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1614, allocations: 0 / 0.7708 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.1614, allocations: 0 / 0.7708 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1614, allocations: 4 kB / 0.7708 GB, free: 3.656 MB / 0.5606 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.143e-05/0.1615, allocations: 113.8 kB / 0.7709 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.1615, allocations: 7.938 kB / 0.7709 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.1616, allocations: 73.72 kB / 0.771 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1616, allocations: 3.984 kB / 0.771 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1616, allocations: 0 / 0.771 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1616, allocations: 0 / 0.771 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.1619, allocations: 323.2 kB / 0.7713 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1619, allocations: 4 kB / 0.7713 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.818e-05/0.162, allocations: 12 kB / 0.7713 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.162, allocations: 0 / 0.7713 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.162, allocations: 4 kB / 0.7713 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.162, allocations: 8.016 kB / 0.7713 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.162, allocations: 0 / 0.7713 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.1622, allocations: 176.3 kB / 0.7715 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.1622, allocations: 85.12 kB / 0.7716 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.1622, allocations: 0 / 0.7716 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.969e-05/0.1623, allocations: 4 kB / 0.7716 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.1623, allocations: 12 kB / 0.7716 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1624, allocations: 4 kB / 0.7716 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.985e-05/0.1624, allocations: 79.27 kB / 0.7716 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1624, allocations: 0 / 0.7716 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002429/0.1626, allocations: 20 kB / 0.7717 GB, free: 2.633 MB / 0.5606 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 (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.0001458/0.1628, allocations: 127.2 kB / 0.7718 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.137e-05/0.1629, allocations: 36.16 kB / 0.7718 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1629, allocations: 0 / 0.7718 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.496e-05/0.1629, allocations: 19.94 kB / 0.7718 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.1631, allocations: 15.86 kB / 0.7719 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.1635, allocations: 193.8 kB / 0.772 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.1637, allocations: 0.6807 MB / 0.7727 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.723e-05/0.1637, allocations: 7.984 kB / 0.7727 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.769e-05/0.1638, allocations: 11.44 kB / 0.7727 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1638, allocations: 0 / 0.7727 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of Templates: time 0.002464/0.1662, allocations: 0.6598 MB / 0.7734 GB, free: 0.8633 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)