Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 102.5 kB / 16.93 MB, free: 5.68 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.00174/0.00174, allocations: 193.8 kB / 17.87 MB, free: 5.156 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.38/1.38, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7868/0.7868, allocations: 122.9 MB / 414.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 64.12 kB / 0.4917 GB, free: 7.473 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3868, allocations: 77.92 MB / 0.5678 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00262/0.3895, allocations: 1.462 MB / 0.5693 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009709/0.3905, allocations: 0.6227 MB / 0.5699 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.372e-05/0.3905, allocations: 0.625 kB / 0.5699 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.3906, allocations: 5.766 kB / 0.5699 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.318e-05/0.3907, allocations: 11.67 kB / 0.5699 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.3912, allocations: 162.2 kB / 0.57 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.449e-05/0.3913, allocations: 53.75 kB / 0.5701 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.3914, allocations: 4.281 kB / 0.5701 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.729e-05/0.3915, allocations: 25.02 kB / 0.5701 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.696e-05/0.3915, allocations: 27.03 kB / 0.5701 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.3915, allocations: 3.219 kB / 0.5702 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005236/0.3921, allocations: 345.5 kB / 0.5705 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.3921, allocations: 21.12 kB / 0.5705 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.415e-05/0.3921, allocations: 19.08 kB / 0.5705 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.3924, allocations: 179.4 kB / 0.5707 GB, free: 30.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3924, allocations: 0.7031 kB / 0.5707 GB, free: 30.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3925, allocations: 0.9375 kB / 0.5707 GB, free: 30.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3925, allocations: 1.312 kB / 0.5707 GB, free: 30.89 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005418/0.393, allocations: 394.4 kB / 0.5711 GB, free: 30.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.3931, allocations: 9.156 kB / 0.5711 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.3931, allocations: 13.66 kB / 0.5711 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.213e-05/0.3932, allocations: 167.9 kB / 0.5712 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.3932, allocations: 8.156 kB / 0.5713 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.3932, allocations: 9.75 kB / 0.5713 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.3935, allocations: 89.27 kB / 0.5714 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3935, allocations: 0.8906 kB / 0.5714 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.3935, allocations: 5.094 kB / 0.5714 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3935, allocations: 1.719 kB / 0.5714 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.3938, allocations: 47.89 kB / 0.5714 GB, free: 30.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.3942, allocations: 325.6 kB / 0.5717 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.3945, allocations: 81.16 kB / 0.5718 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.3946, allocations: 32.06 kB / 0.5718 GB, free: 29.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.3947, allocations: 1.719 kB / 0.5718 GB, free: 29.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.3947, allocations: 38.08 kB / 0.5719 GB, free: 29.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.3947, allocations: 0 / 0.5719 GB, free: 29.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001536/0.3962, allocations: 0.6499 MB / 0.5725 GB, free: 29.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.3963, allocations: 53.48 kB / 0.5725 GB, free: 29.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.534e-05/0.3963, allocations: 109.9 kB / 0.5727 GB, free: 29.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.3964, allocations: 28.39 kB / 0.5727 GB, free: 29.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.3964, allocations: 94.88 kB / 0.5728 GB, free: 29.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.3964, allocations: 41.25 kB / 0.5728 GB, free: 28.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.3965, allocations: 29.14 kB / 0.5728 GB, free: 28.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.049e-05/0.3965, allocations: 318.6 kB / 0.5731 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.3967, allocations: 29.56 kB / 0.5732 GB, free: 28.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.3968, allocations: 33.44 kB / 0.5732 GB, free: 28.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.3971, allocations: 75.25 kB / 0.5733 GB, free: 28.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3971, allocations: 1.438 kB / 0.5733 GB, free: 28.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002973/0.3974, allocations: 121.3 kB / 0.5734 GB, free: 28.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3974, allocations: 4.656 kB / 0.5734 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3974, allocations: 0.6875 kB / 0.5734 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3974, allocations: 1.094 kB / 0.5734 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.3976, allocations: 30.09 kB / 0.5734 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3976, allocations: 1.625 kB / 0.5734 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.564e-05/0.3977, allocations: 14.92 kB / 0.5734 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.3977, allocations: 3.094 kB / 0.5734 GB, free: 28.53 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.705e-05/0.3977, allocations: 119.1 kB / 0.5736 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.3978, allocations: 6.375 kB / 0.5736 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003656/0.3981, allocations: 131.1 kB / 0.5737 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3982, allocations: 2.094 kB / 0.5737 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3982, allocations: 0 / 0.5737 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3982, allocations: 6.906 kB / 0.5737 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004976/0.3987, allocations: 379.8 kB / 0.5741 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3987, allocations: 4 kB / 0.5741 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.3989, allocations: 27.66 kB / 0.5741 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3989, allocations: 1.703 kB / 0.5741 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3989, allocations: 9.734 kB / 0.5741 GB, free: 27.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3989, allocations: 0.9688 kB / 0.5741 GB, free: 27.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3989, allocations: 2.5 kB / 0.5741 GB, free: 27.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004773/0.3994, allocations: 245.5 kB / 0.5743 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.3994, allocations: 80.55 kB / 0.5744 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.3994, allocations: 8.734 kB / 0.5744 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.3996, allocations: 7.859 kB / 0.5744 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.3996, allocations: 6.453 kB / 0.5744 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.3996, allocations: 8.812 kB / 0.5744 GB, free: 27.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.218e-05/0.3996, allocations: 83.23 kB / 0.5745 GB, free: 27.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3996, allocations: 0 / 0.5745 GB, free: 27.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.3999, allocations: 41.12 kB / 0.5746 GB, free: 27.63 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002081/0.4002, allocations: 127.6 kB / 0.5747 GB, free: 27.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003452/0.4005, allocations: 90.78 kB / 0.5748 GB, free: 27.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.4005, allocations: 4 kB / 0.5748 GB, free: 27.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.4007, allocations: 44.22 kB / 0.5748 GB, free: 27.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.401, allocations: 8.312 kB / 0.5748 GB, free: 27.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006651/0.4017, allocations: 354.6 kB / 0.5752 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.4018, allocations: 0.694 MB / 0.5758 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.4019, allocations: 21.8 kB / 0.5759 GB, free: 26.55 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4019, allocations: 1.156 kB / 0.5759 GB, free: 26.55 MB / 446.1 MB Notification: Performance of Templates: time 0.003816/0.4057, allocations: 1.32 MB / 0.5772 GB, free: 26.44 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)