Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.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.0007337/0.0007337, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.001758, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.0006926/0.0006926, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009622/0.001655, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8966/0.8966, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09116/0.9877, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.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.6571/0.6571, allocations: 120.1 MB / 364.2 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06807/0.7252, allocations: 38.15 MB / 402.4 MB, free: 12.28 MB / 394.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.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 403.7 MB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.754e-05, allocations: 10.25 kB / 403.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01251/0.01253, allocations: 9.159 MB / 412.9 MB, free: 1.746 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007494/0.02003, allocations: 3.485 MB / 416.4 MB, free: 14.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.02117, allocations: 31.75 kB / 416.4 MB, free: 14.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007834/0.02196, allocations: 182.5 kB / 416.6 MB, free: 14.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.0247, allocations: 0.7885 MB / 417.4 MB, free: 13.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.02658, allocations: 0.6353 MB / 418 MB, free: 12.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00249/0.02907, allocations: 1.399 MB / 419.4 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009096/0.02998, allocations: 393.7 kB / 419.8 MB, free: 10.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002113/0.0321, allocations: 0.8561 MB / 420.6 MB, free: 9.957 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.0331, allocations: 426.8 kB / 421 MB, free: 9.539 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002201/0.03332, allocations: 48 kB / 421.1 MB, free: 9.492 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.03471, allocations: 483 kB / 421.6 MB, free: 9.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.03491, allocations: 111.5 kB / 421.7 MB, free: 8.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003951/0.03531, allocations: 175.6 kB / 421.8 MB, free: 8.738 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.03691, allocations: 0.6891 MB / 422.5 MB, free: 8.047 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.088e-05/0.03693, allocations: 0 / 422.5 MB, free: 8.047 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.03693, allocations: 0 / 422.5 MB, free: 8.047 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.087e-05/0.03697, allocations: 0 / 422.5 MB, free: 8.047 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002129/0.0391, allocations: 1.036 MB / 423.6 MB, free: 6.984 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.03915, allocations: 16.02 kB / 423.6 MB, free: 6.969 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.04047, allocations: 321.4 kB / 423.9 MB, free: 6.637 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.04153, allocations: 441.7 kB / 424.3 MB, free: 6.176 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.04157, allocations: 20.5 kB / 424.4 MB, free: 6.156 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/0.04164, allocations: 36 kB / 424.4 MB, free: 6.121 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005513/0.04219, allocations: 260.4 kB / 424.6 MB, free: 5.852 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.0422, allocations: 4 kB / 424.6 MB, free: 5.848 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.04224, allocations: 8 kB / 424.7 MB, free: 5.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.04225, allocations: 8 kB / 424.7 MB, free: 5.832 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.0425, allocations: 99.41 kB / 424.8 MB, free: 5.734 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.0444, allocations: 0.6502 MB / 425.4 MB, free: 5.062 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.04481, allocations: 193.2 kB / 425.6 MB, free: 4.863 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.04495, allocations: 63.67 kB / 425.7 MB, free: 4.797 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001665/0.04511, allocations: 35.95 kB / 425.7 MB, free: 4.762 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.04515, allocations: 46.44 kB / 425.7 MB, free: 4.707 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 3.767e-06/0.04515, allocations: 0 / 425.7 MB, free: 4.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005575/0.04571, allocations: 181.5 kB / 425.9 MB, free: 4.523 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.04575, allocations: 59.39 kB / 426 MB, free: 4.453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005197/0.04627, allocations: 479 kB / 426.4 MB, free: 3.973 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.064e-05/0.04632, allocations: 33.7 kB / 426.5 MB, free: 3.934 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.04648, allocations: 209.8 kB / 426.7 MB, free: 3.723 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.639e-05/0.04657, allocations: 67.42 kB / 426.7 MB, free: 3.656 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.04678, allocations: 110 kB / 426.9 MB, free: 3.543 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.04692, allocations: 370.6 kB / 427.2 MB, free: 3.172 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.04712, allocations: 77.66 kB / 427.3 MB, free: 3.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.04747, allocations: 409.6 kB / 427.7 MB, free: 2.605 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004456/0.04791, allocations: 226.7 kB / 427.9 MB, free: 2.371 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.04792, allocations: 4 kB / 427.9 MB, free: 2.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001789/0.0497, allocations: 454.4 kB / 428.4 MB, free: 1.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.04973, allocations: 4 kB / 428.4 MB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.04974, allocations: 0 / 428.4 MB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001505/0.05124, allocations: 244.5 kB / 428.6 MB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006247/0.05187, allocations: 127.7 kB / 428.7 MB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004884/0.05236, allocations: 0.5368 MB / 429.3 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006371/0.05299, allocations: 71.73 kB / 429.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-05/0.05307, allocations: 15.98 kB / 429.4 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003842/0.05345, allocations: 158.8 kB / 429.5 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003884/0.05384, allocations: 413.6 kB / 429.9 MB, free: 240 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004514/0.05429, allocations: 215.8 kB / 430.1 MB, free: 12 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.916e-06/0.0543, allocations: 0 / 430.1 MB, free: 12 kB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.217/0.2713, allocations: 266.3 kB / 430.4 MB, free: 10.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.2713, allocations: 7.172 kB / 430.4 MB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2713, allocations: 1.062 kB / 430.4 MB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.2713, allocations: 3.656 kB / 430.4 MB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/0.2719, allocations: 146.5 kB / 430.5 MB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.2719, allocations: 0 / 430.5 MB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.2723, allocations: 65.73 kB / 430.6 MB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.2724, allocations: 16.61 kB / 430.6 MB, free: 10.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.2725, allocations: 200.2 kB / 430.8 MB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.341e-05/0.2726, allocations: 32.84 kB / 430.8 MB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004788/0.273, allocations: 237.6 kB / 431.1 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.2731, allocations: 2.188 kB / 431.1 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2731, allocations: 2.094 kB / 431.1 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.2731, allocations: 2.656 kB / 431.1 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.2741, allocations: 0.6615 MB / 431.7 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.2741, allocations: 1.25 kB / 431.7 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006439/0.2748, allocations: 140.1 kB / 431.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.2749, allocations: 68.91 kB / 431.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.2749, allocations: 9.766 kB / 432 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.2749, allocations: 2.141 kB / 432 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004266/0.2754, allocations: 0.645 MB / 432.6 MB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.2754, allocations: 2.406 kB / 432.6 MB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.2757, allocations: 347.2 kB / 432.9 MB, free: 9.555 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.256e-05/0.2757, allocations: 9.391 kB / 433 MB, free: 9.555 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.276, allocations: 29.92 kB / 433 MB, free: 9.555 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.276, allocations: 19.19 kB / 433 MB, free: 9.555 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.276, allocations: 9.031 kB / 433 MB, free: 9.555 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002487/0.2763, allocations: 221.9 kB / 433.2 MB, free: 9.535 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2763, allocations: 0.5312 kB / 433.2 MB, free: 9.535 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007215/0.277, allocations: 339 kB / 433.6 MB, free: 9.535 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003849/0.2774, allocations: 196.9 kB / 433.8 MB, free: 9.469 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007012/0.2781, allocations: 360.8 kB / 434.1 MB, free: 9.445 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.14e-05/0.2781, allocations: 13.53 kB / 434.1 MB, free: 9.445 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006994/0.2788, allocations: 204.3 kB / 434.3 MB, free: 9.426 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008606/0.2797, allocations: 1.461 MB / 435.8 MB, free: 7.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/0.2831, allocations: 0.8385 MB / 436.6 MB, free: 7.531 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.843e-05/0.2832, allocations: 121.2 kB / 436.7 MB, free: 7.457 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004871/0.2837, allocations: 129.4 kB / 436.9 MB, free: 7.449 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004507/0.2842, allocations: 206.7 kB / 437.1 MB, free: 7.406 MB / 410.7 MB Notification: Performance of SimCode: time 2.174e-06/0.2842, allocations: 0 / 437.1 MB, free: 7.406 MB / 410.7 MB Notification: Performance of Templates: time 0.01926/0.3034, allocations: 15.75 MB / 452.8 MB, free: 0.7617 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6970375925302505]