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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8204/0.8204, allocations: 128.7 MB / 143.7 MB, free: 2.309 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 180.3 kB / 173.8 MB, free: 6.121 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008032/0.0008034, allocations: 92.36 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002829, allocations: 9.562 kB / 0.5604 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1395, allocations: 76.76 MB / 0.6353 GB, free: 30.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.2744, allocations: 103.6 MB / 0.7365 GB, free: 6.828 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.2748, allocations: 91.92 kB / 0.7366 GB, free: 6.738 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01408/0.2889, allocations: 4.846 MB / 0.7413 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2889, allocations: 11.94 kB / 0.7413 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2889, allocations: 0 / 0.7413 GB, free: 1.871 MB / 0.5105 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.0003834/0.2893, allocations: 343.3 kB / 0.7416 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.2894, allocations: 12.03 kB / 0.7416 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.2894, allocations: 11.84 kB / 0.7417 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.2896, allocations: 163.1 kB / 0.7418 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.2896, allocations: 0 / 0.7418 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.2897, allocations: 8 kB / 0.7418 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005218/0.2902, allocations: 97.69 kB / 0.7419 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2902, allocations: 0 / 0.7419 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.2902, allocations: 4 kB / 0.7419 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2903, allocations: 0 / 0.7419 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/0.2906, allocations: 75.81 kB / 0.742 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.2908, allocations: 165.6 kB / 0.7421 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.2913, allocations: 110.5 kB / 0.7423 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/0.2915, allocations: 93.09 kB / 0.7423 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.2915, allocations: 42.5 kB / 0.7424 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2916, allocations: 0 / 0.7424 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.2802/0.5718, allocations: 1.283 MB / 0.7436 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.5719, allocations: 56.31 kB / 0.7437 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.84e-05/0.5719, allocations: 91.47 kB / 0.7438 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.572, allocations: 28.64 kB / 0.7438 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.901e-05/0.572, allocations: 84.48 kB / 0.7439 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/0.572, allocations: 46.88 kB / 0.7439 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.5721, allocations: 0.5312 kB / 0.7439 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.433e-05/0.5721, allocations: 319.5 kB / 0.7442 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.5724, allocations: 64.94 kB / 0.7443 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.5726, allocations: 73.08 kB / 0.7444 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.5729, allocations: 81.94 kB / 0.7444 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.5729, allocations: 0 / 0.7444 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005757/0.5735, allocations: 194.6 kB / 0.7446 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.5735, allocations: 4.562 kB / 0.7446 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5736, allocations: 0 / 0.7446 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.5736, allocations: 3.5 kB / 0.7446 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.574, allocations: 61.59 kB / 0.7447 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.574, allocations: 2.281 kB / 0.7447 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.5742, allocations: 29.06 kB / 0.7447 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.5743, allocations: 8.484 kB / 0.7447 GB, free: 109.3 MB / 0.5105 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 6.915e-05/0.5743, allocations: 117.6 kB / 0.7448 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.5744, allocations: 3.5 kB / 0.7448 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.5744, allocations: 11.16 kB / 0.7449 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.5744, allocations: 0 / 0.7449 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5744, allocations: 6.203 kB / 0.7449 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.5744, allocations: 1.125 kB / 0.7449 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008376/0.5753, allocations: 471.8 kB / 0.7453 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5753, allocations: 3.188 kB / 0.7453 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/0.5757, allocations: 44.75 kB / 0.7454 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5757, allocations: 1.344 kB / 0.7454 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.5757, allocations: 11.45 kB / 0.7454 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.5757, allocations: 0 / 0.7454 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5757, allocations: 1.844 kB / 0.7454 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008728/0.5766, allocations: 375.8 kB / 0.7457 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.5766, allocations: 90.66 kB / 0.7458 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.5766, allocations: 1.75 kB / 0.7458 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/0.577, allocations: 39.72 kB / 0.7459 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.577, allocations: 6.844 kB / 0.7459 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.577, allocations: 3.375 kB / 0.7459 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.903e-05/0.577, allocations: 78.75 kB / 0.7459 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/0.577, allocations: 4.094 kB / 0.7459 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002419/0.5773, allocations: 26.91 kB / 0.746 GB, free: 108.5 MB / 0.5105 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.0001262/0.5774, allocations: 115.3 kB / 0.7461 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005719/0.578, allocations: 157.6 kB / 0.7462 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.578, allocations: 3.375 kB / 0.7462 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.5783, allocations: 81.59 kB / 0.7463 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.5784, allocations: 4.719 kB / 0.7463 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.5799, allocations: 0.5264 MB / 0.7468 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.58, allocations: 0.6946 MB / 0.7475 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.5802, allocations: 20.45 kB / 0.7475 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/0.5802, allocations: 13 kB / 0.7475 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of SimCode: time 2.21e-07/0.5803, allocations: 0 / 0.7475 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.002971/0.5832, allocations: 0.9863 MB / 0.7485 GB, free: 107.4 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)