Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009848/0.0009848, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001051/0.001051, allocations: 161 kB / 24.17 MB, free: 332 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 0.9983/0.9983, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.97/1.97, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.7751 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.41e-05, allocations: 9.906 kB / 0.7751 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.008623/0.008647, allocations: 9.082 MB / 0.784 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004584/0.01323, allocations: 3.447 MB / 0.7874 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000569/0.0138, allocations: 23.81 kB / 0.7874 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004946/0.01429, allocations: 166.6 kB / 0.7876 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001643/0.01594, allocations: 0.7926 MB / 0.7883 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.01717, allocations: 0.6503 MB / 0.789 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001728/0.0189, allocations: 1.4 MB / 0.7903 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009637/0.01986, allocations: 397.8 kB / 0.7907 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.02087, allocations: 0.7533 MB / 0.7915 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004534/0.02132, allocations: 429.4 kB / 0.7919 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.365e-05/0.0214, allocations: 48 kB / 0.7919 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007956/0.02219, allocations: 490.9 kB / 0.7924 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.02231, allocations: 163.3 kB / 0.7925 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.0225, allocations: 219.4 kB / 0.7927 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000874/0.02338, allocations: 0.7708 MB / 0.7935 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.02338, allocations: 0 / 0.7935 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.012e-06/0.02338, allocations: 3.125 kB / 0.7935 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.904e-06/0.02339, allocations: 0 / 0.7935 GB, free: 2.633 MB / 0.7448 GB 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.001053/0.02444, allocations: 0.8737 MB / 0.7944 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.02448, allocations: 9.344 kB / 0.7944 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007514/0.02523, allocations: 241.9 kB / 0.7946 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005187/0.02575, allocations: 421.7 kB / 0.795 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.02577, allocations: 28.62 kB / 0.795 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/0.02582, allocations: 32 kB / 0.7951 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.02616, allocations: 261.8 kB / 0.7953 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.02617, allocations: 4.656 kB / 0.7953 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.0262, allocations: 8 kB / 0.7953 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.02621, allocations: 9.062 kB / 0.7953 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.02636, allocations: 91.45 kB / 0.7954 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.02747, allocations: 0.6672 MB / 0.7961 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.02772, allocations: 182.3 kB / 0.7962 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.295e-05/0.0278, allocations: 64.7 kB / 0.7963 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.02792, allocations: 39.91 kB / 0.7963 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.02794, allocations: 35.5 kB / 0.7964 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 2.795e-06/0.02794, allocations: 0 / 0.7964 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0003424/0.02829, allocations: 193.1 kB / 0.7966 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.02831, allocations: 55.41 kB / 0.7966 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.02861, allocations: 467.1 kB / 0.7971 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.02865, allocations: 34.61 kB / 0.7971 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.488e-05/0.02874, allocations: 209.7 kB / 0.7973 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/0.02879, allocations: 72 kB / 0.7974 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.02893, allocations: 110 kB / 0.7975 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003609/0.02929, allocations: 367.6 kB / 0.7978 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.02941, allocations: 73.66 kB / 0.7979 GB, free: 14 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.02964, allocations: 418.5 kB / 0.7983 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.02988, allocations: 191.7 kB / 0.7985 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.02988, allocations: 0.7812 kB / 0.7985 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001079/0.03096, allocations: 451.8 kB / 0.7989 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.03097, allocations: 4 kB / 0.7989 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.03098, allocations: 5.844 kB / 0.7989 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009675/0.03195, allocations: 243.3 kB / 0.7991 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.0322, allocations: 95.86 kB / 0.7992 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003047/0.03251, allocations: 0.5532 MB / 0.7998 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.0328, allocations: 57.78 kB / 0.7998 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.03284, allocations: 11.98 kB / 0.7998 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002014/0.03304, allocations: 159.3 kB / 0.8 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002276/0.03327, allocations: 415 kB / 0.8004 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002247/0.03349, allocations: 187.8 kB / 0.8006 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.03349, allocations: 0 / 0.8006 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.000349/0.03384, allocations: 273.7 kB / 0.8008 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/0.03385, allocations: 4 kB / 0.8008 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-06/0.03385, allocations: 0.8438 kB / 0.8008 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.609e-06/0.03386, allocations: 7.984 kB / 0.8008 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.03415, allocations: 124.8 kB / 0.801 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.03416, allocations: 0 / 0.801 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.03443, allocations: 61.72 kB / 0.801 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.03446, allocations: 20.77 kB / 0.801 GB, free: 10.54 MB / 0.7605 GB 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.0001234/0.03458, allocations: 201 kB / 0.8012 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.124e-05/0.03464, allocations: 35.95 kB / 0.8013 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003649/0.03501, allocations: 234.6 kB / 0.8015 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.03502, allocations: 8 kB / 0.8015 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.03502, allocations: 0 / 0.8015 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.03502, allocations: 5.172 kB / 0.8015 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008822/0.0359, allocations: 0.6588 MB / 0.8021 GB, free: 9.367 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.03591, allocations: 1.406 kB / 0.8021 GB, free: 9.367 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/0.03649, allocations: 135.8 kB / 0.8023 GB, free: 9.234 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.03649, allocations: 5.047 kB / 0.8023 GB, free: 9.23 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.03651, allocations: 4 kB / 0.8023 GB, free: 9.227 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004761/0.03699, allocations: 0.6457 MB / 0.8029 GB, free: 8.559 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.03699, allocations: 5.594 kB / 0.8029 GB, free: 8.555 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.0373, allocations: 342.3 kB / 0.8032 GB, free: 8.188 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.03742, allocations: 67.58 kB / 0.8033 GB, free: 8.121 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.009e-05/0.03747, allocations: 11.94 kB / 0.8033 GB, free: 8.109 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.03768, allocations: 38.41 kB / 0.8034 GB, free: 8.074 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.03772, allocations: 19.91 kB / 0.8034 GB, free: 8.055 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.03774, allocations: 11.98 kB / 0.8034 GB, free: 8.043 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000176/0.03791, allocations: 216.4 kB / 0.8036 GB, free: 7.832 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.03791, allocations: 1.594 kB / 0.8036 GB, free: 7.832 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005933/0.03851, allocations: 323.4 kB / 0.8039 GB, free: 7.516 MB / 0.7605 GB 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.0003138/0.03882, allocations: 176.6 kB / 0.8041 GB, free: 7.336 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005887/0.03941, allocations: 352.3 kB / 0.8044 GB, free: 6.98 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.03942, allocations: 4 kB / 0.8044 GB, free: 6.977 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0009577/0.04037, allocations: 177.8 kB / 0.8046 GB, free: 6.805 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.0409, allocations: 201.2 kB / 0.8048 GB, free: 6.617 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.04203, allocations: 0.7938 MB / 0.8055 GB, free: 5.785 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.06e-05/0.0421, allocations: 124.4 kB / 0.8057 GB, free: 5.641 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003521/0.04245, allocations: 134.1 kB / 0.8058 GB, free: 5.531 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003856/0.04284, allocations: 203.1 kB / 0.806 GB, free: 5.332 MB / 0.7605 GB Notification: Performance of SimCode: time 1.113e-06/0.04284, allocations: 0 / 0.806 GB, free: 5.332 MB / 0.7605 GB Notification: Performance of Templates: time 0.01776/0.06059, allocations: 14.81 MB / 0.8204 GB, free: 6.77 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.477539678104222]