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.001565/0.001565, allocations: 81.41 kB / 20.82 MB, free: 3.629 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.001709/0.001709, allocations: 169 kB / 24.25 MB, free: 208 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.9709/0.9709, allocations: 177.1 MB / 204.7 MB, free: 5.465 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.888/1.888, allocations: 389.6 MB / 0.6355 GB, free: 12.25 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 1.383e-06/1.383e-06, allocations: 0 / 0.7753 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.058e-05, allocations: 6.25 kB / 0.7754 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.007517/0.007538, allocations: 9.131 MB / 0.7843 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004032/0.01157, allocations: 3.432 MB / 0.7876 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004466/0.01202, allocations: 28.84 kB / 0.7876 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004356/0.01245, allocations: 174.5 kB / 0.7878 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.01372, allocations: 0.7697 MB / 0.7886 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009692/0.01469, allocations: 0.6362 MB / 0.7892 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001257/0.01595, allocations: 1.403 MB / 0.7906 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005204/0.01647, allocations: 389.7 kB / 0.7909 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000864/0.01733, allocations: 0.7497 MB / 0.7917 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005069/0.01784, allocations: 423.8 kB / 0.7921 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.494e-05/0.01792, allocations: 48 kB / 0.7921 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000766/0.01869, allocations: 0.4911 MB / 0.7926 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.01881, allocations: 164.2 kB / 0.7927 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.01898, allocations: 223.4 kB / 0.793 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009003/0.01988, allocations: 0.763 MB / 0.7937 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.01989, allocations: 1.25 kB / 0.7937 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.82e-07/0.01989, allocations: 0 / 0.7937 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.0199, allocations: 4 kB / 0.7937 GB, free: 2.465 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.001124/0.02102, allocations: 0.8847 MB / 0.7946 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.02106, allocations: 13.34 kB / 0.7946 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007969/0.02185, allocations: 236.6 kB / 0.7948 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000561/0.02242, allocations: 417.6 kB / 0.7952 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.02244, allocations: 26 kB / 0.7952 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.02248, allocations: 36 kB / 0.7953 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.02284, allocations: 265.2 kB / 0.7955 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.02285, allocations: 0 / 0.7955 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.02287, allocations: 12.72 kB / 0.7955 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.02288, allocations: 4 kB / 0.7955 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.02304, allocations: 96.92 kB / 0.7956 GB, free: 452 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.02418, allocations: 0.6601 MB / 0.7963 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.02445, allocations: 197.2 kB / 0.7965 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.627e-05/0.02454, allocations: 67.59 kB / 0.7965 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.02465, allocations: 33.05 kB / 0.7966 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.02467, allocations: 30.56 kB / 0.7966 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 2.184e-06/0.02467, allocations: 0 / 0.7966 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.000349/0.02502, allocations: 190.7 kB / 0.7968 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.02505, allocations: 51.41 kB / 0.7968 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.02535, allocations: 471.7 kB / 0.7973 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.02538, allocations: 33.7 kB / 0.7973 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.628e-05/0.02548, allocations: 214.7 kB / 0.7975 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.02552, allocations: 59.47 kB / 0.7976 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.02566, allocations: 115.6 kB / 0.7977 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.02576, allocations: 370.6 kB / 0.798 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.02589, allocations: 77.66 kB / 0.7981 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.02612, allocations: 405.7 kB / 0.7985 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.02638, allocations: 199.2 kB / 0.7987 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.02638, allocations: 0 / 0.7987 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001179/0.02756, allocations: 449.6 kB / 0.7991 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.02758, allocations: 4 kB / 0.7991 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.02759, allocations: 1.125 kB / 0.7991 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.02861, allocations: 243.2 kB / 0.7993 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.02892, allocations: 113.6 kB / 0.7995 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003187/0.02924, allocations: 0.5406 MB / 0.8 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.02957, allocations: 64.66 kB / 0.8 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.02961, allocations: 16.86 kB / 0.8001 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002031/0.02981, allocations: 158.8 kB / 0.8002 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00025/0.03006, allocations: 414.5 kB / 0.8006 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002533/0.03032, allocations: 198.3 kB / 0.8008 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.243e-06/0.03032, allocations: 0.7812 kB / 0.8008 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0003587/0.03068, allocations: 273.9 kB / 0.8011 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.03069, allocations: 8.688 kB / 0.8011 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.03069, allocations: 0.5938 kB / 0.8011 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.529e-06/0.03069, allocations: 3.938 kB / 0.8011 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.03108, allocations: 129.7 kB / 0.8012 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.03108, allocations: 4 kB / 0.8012 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/0.03138, allocations: 69.33 kB / 0.8013 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.03141, allocations: 16.89 kB / 0.8013 GB, free: 10.34 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.0001223/0.03153, allocations: 197 kB / 0.8015 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.03159, allocations: 39.95 kB / 0.8015 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/0.03195, allocations: 230.4 kB / 0.8017 GB, free: 9.875 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.03196, allocations: 4 kB / 0.8017 GB, free: 9.871 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.03196, allocations: 1.219 kB / 0.8017 GB, free: 9.871 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.03197, allocations: 0 / 0.8017 GB, free: 9.871 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008912/0.03286, allocations: 0.6762 MB / 0.8024 GB, free: 9.156 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.03286, allocations: 0.8438 kB / 0.8024 GB, free: 9.156 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006613/0.03352, allocations: 133.6 kB / 0.8025 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.03353, allocations: 7.984 kB / 0.8025 GB, free: 9.02 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.03355, allocations: 4 kB / 0.8025 GB, free: 9.016 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005029/0.03405, allocations: 0.6502 MB / 0.8032 GB, free: 8.344 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.03405, allocations: 0 / 0.8032 GB, free: 8.344 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.03438, allocations: 347.3 kB / 0.8035 GB, free: 7.973 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.03452, allocations: 72.66 kB / 0.8036 GB, free: 7.902 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.989e-05/0.03457, allocations: 4 kB / 0.8036 GB, free: 7.898 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.03477, allocations: 28.53 kB / 0.8036 GB, free: 7.871 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.03482, allocations: 20.75 kB / 0.8036 GB, free: 7.852 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.03485, allocations: 11.98 kB / 0.8036 GB, free: 7.84 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001833/0.03504, allocations: 213 kB / 0.8038 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.03504, allocations: 0 / 0.8038 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006075/0.03564, allocations: 320.8 kB / 0.8041 GB, free: 7.32 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.0002906/0.03593, allocations: 185.2 kB / 0.8043 GB, free: 7.133 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005904/0.03652, allocations: 344.4 kB / 0.8046 GB, free: 6.789 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.03653, allocations: 4 kB / 0.8046 GB, free: 6.785 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006479/0.03718, allocations: 186.1 kB / 0.8048 GB, free: 6.602 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005669/0.03775, allocations: 193.5 kB / 0.805 GB, free: 6.422 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.03895, allocations: 0.8098 MB / 0.8058 GB, free: 5.574 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.581e-05/0.03903, allocations: 122.4 kB / 0.8059 GB, free: 5.43 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003834/0.03941, allocations: 134.5 kB / 0.806 GB, free: 5.324 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004026/0.03982, allocations: 199.1 kB / 0.8062 GB, free: 5.129 MB / 0.7605 GB Notification: Performance of SimCode: time 1.112e-06/0.03982, allocations: 0 / 0.8062 GB, free: 5.129 MB / 0.7605 GB Notification: Performance of Templates: time 0.01654/0.05636, allocations: 14.82 MB / 0.8207 GB, free: 6.562 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.294682903215289]