Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.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.001182/0.001182, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.001403/0.001403, allocations: 169.3 kB / 24.14 MB, free: 352 kB / 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 1.062/1.062, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6655/0.6655, allocations: 115 MB / 376 MB, free: 7.504 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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.PowerLaw_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 428.8 MB, free: 2.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.692e-05, allocations: 2.312 kB / 428.8 MB, free: 2.727 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.001841/0.001858, allocations: 1.439 MB / 430.2 MB, free: 1.277 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.003137, allocations: 0.9218 MB / 431.2 MB, free: 360 kB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.003171, allocations: 4 kB / 431.2 MB, free: 356 kB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/0.003189, allocations: 0 / 431.2 MB, free: 356 kB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.338e-05/0.003242, allocations: 15.86 kB / 431.2 MB, free: 340 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.003712, allocations: 198.9 kB / 431.4 MB, free: 140 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.346e-05/0.003785, allocations: 51.78 kB / 431.4 MB, free: 88 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.003819, allocations: 3.938 kB / 431.4 MB, free: 84 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.003885, allocations: 27.97 kB / 431.4 MB, free: 56 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.991e-05/0.003935, allocations: 19.91 kB / 431.5 MB, free: 36 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.003949, allocations: 4 kB / 431.5 MB, free: 32 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00044/0.004389, allocations: 383.5 kB / 431.8 MB, free: 15.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.004412, allocations: 15.91 kB / 431.9 MB, free: 15.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.004431, allocations: 8 kB / 431.9 MB, free: 15.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.004743, allocations: 299.2 kB / 432.2 MB, free: 15.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004745, allocations: 3.938 kB / 432.2 MB, free: 15.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004746, allocations: 4 kB / 432.2 MB, free: 15.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.004749, allocations: 0 / 432.2 MB, free: 15.33 MB / 410.7 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.0003275/0.005077, allocations: 320 kB / 432.5 MB, free: 15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.005112, allocations: 8.031 kB / 432.5 MB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.005283, allocations: 20.92 kB / 432.5 MB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.817e-05/0.005381, allocations: 121.7 kB / 432.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.005394, allocations: 384 / 432.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.005411, allocations: 8.375 kB / 432.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.005521, allocations: 80.64 kB / 432.7 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.005529, allocations: 7.875 kB / 432.7 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.005538, allocations: 8 kB / 432.7 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.005544, allocations: 0 / 432.7 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.801e-05/0.005572, allocations: 8 kB / 432.7 MB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001078/0.00568, allocations: 72.97 kB / 432.8 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.005825, allocations: 34.61 kB / 432.8 MB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.005844, allocations: 12.86 kB / 432.9 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.005855, allocations: 4 kB / 432.9 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.005877, allocations: 34.56 kB / 432.9 MB, free: 14.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.005878, allocations: 0 / 432.9 MB, free: 14.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009666/0.006844, allocations: 357.2 kB / 433.2 MB, free: 14.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.006868, allocations: 51.41 kB / 433.3 MB, free: 14.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.281e-05/0.006941, allocations: 134.6 kB / 433.4 MB, free: 13.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.006954, allocations: 33.7 kB / 433.5 MB, free: 13.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.006981, allocations: 88.11 kB / 433.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.007005, allocations: 15.86 kB / 433.6 MB, free: 13.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.007048, allocations: 33.67 kB / 433.6 MB, free: 13.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.538e-05/0.007123, allocations: 318.8 kB / 433.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.78e-05/0.007151, allocations: 23.88 kB / 433.9 MB, free: 13.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.799e-05/0.007179, allocations: 23.98 kB / 433.9 MB, free: 13.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.972e-05/0.007248, allocations: 56.77 kB / 434 MB, free: 13.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.00725, allocations: 0 / 434 MB, free: 13.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001084/0.007358, allocations: 89.67 kB / 434.1 MB, free: 13.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.00737, allocations: 8 kB / 434.1 MB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.00738, allocations: 0 / 434.1 MB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.007391, allocations: 3.938 kB / 434.1 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.177e-05/0.007462, allocations: 23.91 kB / 434.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/0.007466, allocations: 0 / 434.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.15e-05/0.007497, allocations: 4 kB / 434.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.007505, allocations: 0 / 434.1 MB, free: 13.18 MB / 410.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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.156e-05/0.007566, allocations: 113.8 kB / 434.2 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.007578, allocations: 7.984 kB / 434.3 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.007605, allocations: 8.438 kB / 434.3 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.007609, allocations: 7.938 kB / 434.3 MB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.00761, allocations: 0 / 434.3 MB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.007613, allocations: 0 / 434.3 MB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.007871, allocations: 239.6 kB / 434.5 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007873, allocations: 0 / 434.5 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.006e-05/0.007933, allocations: 15.98 kB / 434.5 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.007935, allocations: 0 / 434.5 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.007943, allocations: 4.062 kB / 434.5 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.007945, allocations: 4 kB / 434.5 MB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.007946, allocations: 8.031 kB / 434.5 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.008088, allocations: 180.3 kB / 434.7 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.008106, allocations: 4 kB / 434.7 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.008121, allocations: 11.92 kB / 434.7 MB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.388e-05/0.008175, allocations: 0 / 434.7 MB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/0.008195, allocations: 7.984 kB / 434.7 MB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.008202, allocations: 4 kB / 434.7 MB, free: 12.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.935e-05/0.008221, allocations: 24.83 kB / 434.8 MB, free: 12.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008221, allocations: 0 / 434.8 MB, free: 12.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001469/0.008368, allocations: 23.94 kB / 434.8 MB, free: 12.46 MB / 410.7 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.0001176/0.008486, allocations: 100.4 kB / 434.9 MB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.008601, allocations: 86.56 kB / 435 MB, free: 12.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.008607, allocations: 8 kB / 435 MB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.813e-05/0.008635, allocations: 24.84 kB / 435 MB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.008779, allocations: 12.14 kB / 435 MB, free: 12.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005298/0.009309, allocations: 233.6 kB / 435.2 MB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.688e-05/0.009346, allocations: 63.2 kB / 435.3 MB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.632e-05/0.009382, allocations: 8 kB / 435.3 MB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.457e-05/0.009457, allocations: 63.36 kB / 435.4 MB, free: 11.8 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009457, allocations: 0 / 435.4 MB, free: 11.8 MB / 410.7 MB Notification: Performance of Templates: time 0.003504/0.01296, allocations: 1.971 MB / 437.3 MB, free: 9.82 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.674998899921775]