Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 84.45 kB / 20.69 MB, free: 3.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 169.9 kB / 23.96 MB, free: 0.5742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9899/0.9899, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.664/0.664, allocations: 120 MB / 380.7 MB, free: 2.957 MB / 346.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5643 GB, free: 7.781 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.098e-05, allocations: 2.281 kB / 0.5643 GB, free: 7.777 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.002015/0.002046, allocations: 1.34 MB / 0.5656 GB, free: 6.434 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007672/0.002813, allocations: 0.5448 MB / 0.5662 GB, free: 5.887 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.402e-05/0.002847, allocations: 4 kB / 0.5662 GB, free: 5.883 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.079e-05/0.002868, allocations: 3.938 kB / 0.5662 GB, free: 5.879 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.948e-05/0.002907, allocations: 11.92 kB / 0.5662 GB, free: 5.867 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005863/0.003494, allocations: 159.2 kB / 0.5663 GB, free: 5.711 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.677e-05/0.00357, allocations: 35.84 kB / 0.5664 GB, free: 5.676 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.133e-05/0.003622, allocations: 0 / 0.5664 GB, free: 5.676 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.343e-05/0.003665, allocations: 15.98 kB / 0.5664 GB, free: 5.66 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.025e-05/0.003725, allocations: 11.97 kB / 0.5664 GB, free: 5.648 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.00374, allocations: 4 kB / 0.5664 GB, free: 5.645 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000325/0.004065, allocations: 319.3 kB / 0.5667 GB, free: 5.332 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.004083, allocations: 7.922 kB / 0.5667 GB, free: 5.324 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.004107, allocations: 8 kB / 0.5667 GB, free: 5.316 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.004327, allocations: 175.4 kB / 0.5669 GB, free: 5.145 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.00433, allocations: 0 / 0.5669 GB, free: 5.145 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.004331, allocations: 0 / 0.5669 GB, free: 5.145 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.004336, allocations: 0 / 0.5669 GB, free: 5.145 MB / 490.7 MB 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.0003635/0.0047, allocations: 297.9 kB / 0.5672 GB, free: 4.824 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.004742, allocations: 12.62 kB / 0.5672 GB, free: 4.812 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.004778, allocations: 0.9375 kB / 0.5672 GB, free: 4.812 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.342e-05/0.004852, allocations: 117.7 kB / 0.5673 GB, free: 4.672 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.004866, allocations: 384 / 0.5673 GB, free: 4.672 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002753/0.005141, allocations: 8.375 kB / 0.5673 GB, free: 4.664 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.005273, allocations: 101.6 kB / 0.5674 GB, free: 4.547 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.005284, allocations: 3.938 kB / 0.5674 GB, free: 4.543 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.005296, allocations: 0 / 0.5674 GB, free: 4.543 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.0053, allocations: 3.938 kB / 0.5674 GB, free: 4.539 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.549e-05/0.005345, allocations: 19.98 kB / 0.5674 GB, free: 4.52 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.005472, allocations: 113.3 kB / 0.5676 GB, free: 4.379 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.783e-05/0.00556, allocations: 58.55 kB / 0.5676 GB, free: 4.312 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.005595, allocations: 32.84 kB / 0.5676 GB, free: 4.277 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.005619, allocations: 0 / 0.5676 GB, free: 4.277 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.005641, allocations: 38.5 kB / 0.5677 GB, free: 4.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/0.005642, allocations: 3.938 kB / 0.5677 GB, free: 4.227 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.000832/0.006474, allocations: 451.8 kB / 0.5681 GB, free: 3.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.006505, allocations: 51.41 kB / 0.5682 GB, free: 3.668 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.522e-05/0.00656, allocations: 93.86 kB / 0.5682 GB, free: 3.566 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.006574, allocations: 33.83 kB / 0.5683 GB, free: 3.527 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.32e-05/0.006597, allocations: 84.14 kB / 0.5684 GB, free: 3.441 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.006632, allocations: 43.61 kB / 0.5684 GB, free: 3.398 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.006666, allocations: 25.72 kB / 0.5684 GB, free: 3.367 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.223e-05/0.006738, allocations: 318.8 kB / 0.5687 GB, free: 3.047 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.277e-05/0.006771, allocations: 19.98 kB / 0.5687 GB, free: 3.027 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-05/0.006803, allocations: 24 kB / 0.5688 GB, free: 3.004 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.145e-05/0.006874, allocations: 52.84 kB / 0.5688 GB, free: 2.949 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.006875, allocations: 0 / 0.5688 GB, free: 2.949 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001114/0.006987, allocations: 104.8 kB / 0.5689 GB, free: 2.844 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.007001, allocations: 8 kB / 0.5689 GB, free: 2.836 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.007007, allocations: 4.094 kB / 0.5689 GB, free: 2.832 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.007019, allocations: 3.938 kB / 0.5689 GB, free: 2.828 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.423e-05/0.007103, allocations: 19.98 kB / 0.569 GB, free: 2.809 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.007111, allocations: 4 kB / 0.569 GB, free: 2.805 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.653e-05/0.007128, allocations: 8 kB / 0.569 GB, free: 2.797 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.007133, allocations: 0 / 0.569 GB, free: 2.797 MB / 490.7 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.937e-05/0.007193, allocations: 113.8 kB / 0.5691 GB, free: 2.676 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.669e-06/0.007202, allocations: 11.88 kB / 0.5691 GB, free: 2.664 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.007354, allocations: 117.7 kB / 0.5692 GB, free: 2.547 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.007357, allocations: 8 kB / 0.5692 GB, free: 2.539 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.007361, allocations: 0 / 0.5692 GB, free: 2.539 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.007365, allocations: 0 / 0.5692 GB, free: 2.539 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.007685, allocations: 290.1 kB / 0.5695 GB, free: 2.219 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.007687, allocations: 0 / 0.5695 GB, free: 2.219 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.125e-05/0.007768, allocations: 20 kB / 0.5695 GB, free: 2.199 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.00777, allocations: 0 / 0.5695 GB, free: 2.199 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.007779, allocations: 4 kB / 0.5695 GB, free: 2.195 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.00778, allocations: 0 / 0.5695 GB, free: 2.195 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.007782, allocations: 3.984 kB / 0.5695 GB, free: 2.191 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.007965, allocations: 219.3 kB / 0.5697 GB, free: 1.961 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-06/0.007975, allocations: 12.09 kB / 0.5697 GB, free: 1.949 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.007987, allocations: 0 / 0.5697 GB, free: 1.949 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.325e-05/0.00804, allocations: 4 kB / 0.5697 GB, free: 1.945 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.008058, allocations: 3.984 kB / 0.5697 GB, free: 1.941 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.008065, allocations: 8 kB / 0.5697 GB, free: 1.934 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.737e-05/0.008092, allocations: 83.27 kB / 0.5698 GB, free: 1.852 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008092, allocations: 0 / 0.5698 GB, free: 1.852 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002052/0.008298, allocations: 51.75 kB / 0.5699 GB, free: 1.801 MB / 490.7 MB 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 (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.0002166/0.008514, allocations: 155 kB / 0.57 GB, free: 1.641 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.008642, allocations: 63.94 kB / 0.5701 GB, free: 1.578 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.008645, allocations: 0 / 0.5701 GB, free: 1.578 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.482e-05/0.008679, allocations: 31.98 kB / 0.5701 GB, free: 1.547 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.00885, allocations: 15.88 kB / 0.5701 GB, free: 1.531 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.009295, allocations: 262.2 kB / 0.5704 GB, free: 1.242 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.927e-05/0.009345, allocations: 67.34 kB / 0.5704 GB, free: 1.156 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.009374, allocations: 16.5 kB / 0.5705 GB, free: 1.141 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/0.009374, allocations: 0 / 0.5705 GB, free: 1.141 MB / 490.7 MB Notification: Performance of Templates: time 0.002546/0.01192, allocations: 1.389 MB / 0.5718 GB, free: 15.76 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2 > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.54190799407661]