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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 121.3 kB / 17.81 MB, free: 5.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 193.4 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 249.1 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] 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.8229/0.8229, allocations: 128.4 MB / 432.4 MB, free: 13.2 MB / 350.1 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.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=2500,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=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 71.88 kB / 0.5987 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3764, allocations: 83.27 MB / 0.68 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002144/0.3786, allocations: 1.464 MB / 0.6815 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008321/0.3794, allocations: 0.6313 MB / 0.6821 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.265e-05/0.3794, allocations: 1.031 kB / 0.6821 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.425e-05/0.3795, allocations: 3.938 kB / 0.6821 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.48e-05/0.3795, allocations: 4.875 kB / 0.6821 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.38, allocations: 171.7 kB / 0.6823 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.078e-05/0.3801, allocations: 49.88 kB / 0.6823 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.878e-05/0.3801, allocations: 6.094 kB / 0.6823 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6e-05/0.3802, allocations: 26.12 kB / 0.6823 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.125e-05/0.3802, allocations: 31.28 kB / 0.6824 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.3802, allocations: 8.406 kB / 0.6824 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004454/0.3807, allocations: 347.9 kB / 0.6827 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.3807, allocations: 5.531 kB / 0.6827 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.3807, allocations: 32.08 kB / 0.6827 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.381, allocations: 170.7 kB / 0.6829 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.381, allocations: 0 / 0.6829 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.381, allocations: 0 / 0.6829 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.381, allocations: 0 / 0.6829 GB, free: 4.887 MB / 0.4981 GB 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.0004949/0.3815, allocations: 403.5 kB / 0.6833 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3815, allocations: 9.5 kB / 0.6833 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.3815, allocations: 7.328 kB / 0.6833 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.951e-05/0.3816, allocations: 178.6 kB / 0.6835 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.3816, allocations: 2.938 kB / 0.6835 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.3817, allocations: 13.98 kB / 0.6835 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.3819, allocations: 77.72 kB / 0.6836 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3819, allocations: 1 kB / 0.6836 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3819, allocations: 0.9688 kB / 0.6836 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3819, allocations: 1.156 kB / 0.6836 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.3821, allocations: 52.05 kB / 0.6836 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.3826, allocations: 325.1 kB / 0.6839 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.3829, allocations: 73.81 kB / 0.684 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.383, allocations: 30.92 kB / 0.684 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.383, allocations: 5.188 kB / 0.684 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.383, allocations: 35.97 kB / 0.6841 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.383, allocations: 3.938 kB / 0.6841 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001467/0.3845, allocations: 0.6517 MB / 0.6847 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.798e-05/0.3845, allocations: 57.47 kB / 0.6848 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.571e-05/0.3845, allocations: 103.3 kB / 0.6849 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.3845, allocations: 25.7 kB / 0.6849 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.46e-05/0.3846, allocations: 94.25 kB / 0.685 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.3846, allocations: 36.56 kB / 0.685 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.3846, allocations: 38.55 kB / 0.685 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.07e-05/0.3847, allocations: 315.9 kB / 0.6853 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.3848, allocations: 30.22 kB / 0.6854 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.3849, allocations: 39.84 kB / 0.6854 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.3852, allocations: 71.78 kB / 0.6855 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3852, allocations: 0 / 0.6855 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003077/0.3855, allocations: 122.6 kB / 0.6856 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.3855, allocations: 5 kB / 0.6856 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.3855, allocations: 0 / 0.6856 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3855, allocations: 5 kB / 0.6856 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.3856, allocations: 29.11 kB / 0.6856 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3856, allocations: 0.9062 kB / 0.6856 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.379e-05/0.3857, allocations: 3.219 kB / 0.6856 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.3857, allocations: 6.297 kB / 0.6856 GB, free: 2.316 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.014e-05/0.3858, allocations: 126.1 kB / 0.6858 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.3858, allocations: 6.422 kB / 0.6858 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.3861, allocations: 123 kB / 0.6859 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3861, allocations: 9.281 kB / 0.6859 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3862, allocations: 1.406 kB / 0.6859 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.3862, allocations: 3.984 kB / 0.6859 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/0.3866, allocations: 380.7 kB / 0.6863 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3866, allocations: 5.344 kB / 0.6863 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.3868, allocations: 24.08 kB / 0.6863 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.3868, allocations: 3.938 kB / 0.6863 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.3868, allocations: 5.328 kB / 0.6863 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3868, allocations: 1.375 kB / 0.6863 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3868, allocations: 0 / 0.6863 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/0.3872, allocations: 252.6 kB / 0.6865 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.3873, allocations: 82.39 kB / 0.6866 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.3873, allocations: 5.469 kB / 0.6866 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.3874, allocations: 8.234 kB / 0.6866 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.3874, allocations: 2.688 kB / 0.6866 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.3874, allocations: 8.344 kB / 0.6866 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.989e-05/0.3874, allocations: 82.2 kB / 0.6867 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.3874, allocations: 4.062 kB / 0.6867 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002892/0.3877, allocations: 38 kB / 0.6868 GB, free: 1.32 MB / 0.4981 GB 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.0001599/0.3879, allocations: 139.4 kB / 0.6869 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003251/0.3882, allocations: 89.3 kB / 0.687 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3882, allocations: 0 / 0.687 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.3884, allocations: 46.03 kB / 0.687 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.3886, allocations: 16.34 kB / 0.687 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005617/0.3892, allocations: 326.2 kB / 0.6874 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.485e-05/0.3893, allocations: 0.6915 MB / 0.688 GB, free: 160 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.3893, allocations: 21.78 kB / 0.6881 GB, free: 144 kB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.3893, allocations: 3.938 kB / 0.6881 GB, free: 140 kB / 0.4981 GB Notification: Performance of Templates: time 0.00307/0.3924, allocations: 1.325 MB / 0.6893 GB, free: 15.46 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.639363079098985] Failed to read output from testmodel.py, exit status != 0: 0.4000886951107532 0.411759224 0.028199134 Calling exit ...