Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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/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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 105.5 kB / 16.94 MB, free: 6.156 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.001432/0.001432, allocations: 191.3 kB / 17.87 MB, free: 5.293 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.305/1.305, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7508/0.7508, allocations: 122.9 MB / 414.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 59.91 kB / 0.4918 GB, free: 7.465 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3935, allocations: 77.91 MB / 0.5678 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002463/0.396, allocations: 1.269 MB / 0.5691 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009971/0.397, allocations: 0.6033 MB / 0.5697 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.867e-05/0.3971, allocations: 3.938 kB / 0.5697 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.3971, allocations: 6.969 kB / 0.5697 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.704e-05/0.3972, allocations: 2.031 kB / 0.5697 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005744/0.3977, allocations: 152.6 kB / 0.5698 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.98e-05/0.3978, allocations: 17.16 kB / 0.5698 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.3979, allocations: 6.562 kB / 0.5698 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.79e-05/0.3979, allocations: 10.14 kB / 0.5699 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.36e-05/0.398, allocations: 8.766 kB / 0.5699 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.398, allocations: 1.438 kB / 0.5699 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006209/0.3986, allocations: 347 kB / 0.5702 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.3986, allocations: 6.297 kB / 0.5702 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.3987, allocations: 13.95 kB / 0.5702 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.399, allocations: 147.4 kB / 0.5704 GB, free: 31.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.399, allocations: 1.562 kB / 0.5704 GB, free: 31.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.399, allocations: 0 / 0.5704 GB, free: 31.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.399, allocations: 1.719 kB / 0.5704 GB, free: 31.16 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003691/0.3994, allocations: 358.1 kB / 0.5707 GB, free: 30.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3994, allocations: 10.88 kB / 0.5707 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.3995, allocations: 3 kB / 0.5707 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.191e-05/0.3995, allocations: 166.5 kB / 0.5709 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3996, allocations: 1.562 kB / 0.5709 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.3996, allocations: 7.844 kB / 0.5709 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.3997, allocations: 39.33 kB / 0.5709 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3997, allocations: 7.078 kB / 0.5709 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.3997, allocations: 4.875 kB / 0.5709 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3997, allocations: 1.125 kB / 0.5709 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.503e-05/0.3998, allocations: 11.62 kB / 0.5709 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.3999, allocations: 156.5 kB / 0.5711 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.4001, allocations: 44.8 kB / 0.5711 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.57e-05/0.4002, allocations: 18.53 kB / 0.5712 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.4002, allocations: 0 / 0.5712 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.4002, allocations: 34.61 kB / 0.5712 GB, free: 30.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4002, allocations: 0 / 0.5712 GB, free: 30.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005841/0.4008, allocations: 317.9 kB / 0.5715 GB, free: 29.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.4009, allocations: 57.22 kB / 0.5715 GB, free: 29.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.868e-05/0.4009, allocations: 97.06 kB / 0.5716 GB, free: 29.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.4009, allocations: 29.7 kB / 0.5717 GB, free: 29.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.99e-05/0.4009, allocations: 86.66 kB / 0.5717 GB, free: 29.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.401, allocations: 16.11 kB / 0.5718 GB, free: 29.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.401, allocations: 20.48 kB / 0.5718 GB, free: 29.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.049e-05/0.4011, allocations: 317.4 kB / 0.5721 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.611e-05/0.4011, allocations: 13.8 kB / 0.5721 GB, free: 29.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-05/0.4011, allocations: 8.609 kB / 0.5721 GB, free: 29.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.595e-05/0.4012, allocations: 34.48 kB / 0.5721 GB, free: 29.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.4012, allocations: 1.031 kB / 0.5721 GB, free: 29.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.758e-05/0.4013, allocations: 70.86 kB / 0.5722 GB, free: 29.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.4013, allocations: 10.59 kB / 0.5722 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4013, allocations: 2.203 kB / 0.5722 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.4013, allocations: 1.312 kB / 0.5722 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.338e-05/0.4014, allocations: 14.62 kB / 0.5722 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4014, allocations: 1.328 kB / 0.5722 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.86e-05/0.4014, allocations: 1.641 kB / 0.5722 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.4014, allocations: 6.422 kB / 0.5722 GB, free: 29.25 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 (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 4.731e-05/0.4015, allocations: 113 kB / 0.5724 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.4015, allocations: 6.625 kB / 0.5724 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.4017, allocations: 75.44 kB / 0.5724 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4017, allocations: 1.219 kB / 0.5724 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.4017, allocations: 0 / 0.5724 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4017, allocations: 0 / 0.5724 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.4019, allocations: 319.3 kB / 0.5727 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4019, allocations: 2.109 kB / 0.5727 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.954e-05/0.402, allocations: 10.83 kB / 0.5727 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.402, allocations: 1.812 kB / 0.5727 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.402, allocations: 5.156 kB / 0.5728 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.402, allocations: 1.719 kB / 0.5728 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4021, allocations: 2.344 kB / 0.5728 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.4022, allocations: 181.5 kB / 0.5729 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.4023, allocations: 96.86 kB / 0.573 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.4023, allocations: 0.6094 kB / 0.573 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-05/0.4023, allocations: 1.688 kB / 0.573 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/0.4024, allocations: 8.844 kB / 0.573 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.4024, allocations: 2.062 kB / 0.573 GB, free: 28.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.405e-05/0.4024, allocations: 82.56 kB / 0.5731 GB, free: 28.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4024, allocations: 1.031 kB / 0.5731 GB, free: 28.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.4027, allocations: 19.45 kB / 0.5731 GB, free: 28.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001628/0.4028, allocations: 122.3 kB / 0.5733 GB, free: 28.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.403, allocations: 36.59 kB / 0.5733 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.403, allocations: 1.188 kB / 0.5733 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.884e-05/0.403, allocations: 17.83 kB / 0.5733 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.4032, allocations: 13.09 kB / 0.5733 GB, free: 28.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.4036, allocations: 216.9 kB / 0.5735 GB, free: 28.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.4038, allocations: 0.6841 MB / 0.5742 GB, free: 27.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.944e-05/0.4038, allocations: 11.33 kB / 0.5742 GB, free: 27.4 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4038, allocations: 0 / 0.5742 GB, free: 27.4 MB / 446.1 MB Notification: Performance of Templates: time 0.00268/0.4065, allocations: 0.7901 MB / 0.575 GB, free: 27.38 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)