Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.755/1.755, allocations: 288.3 MB / 303.2 MB, free: 8.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001107, allocations: 181.1 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.4 MB / 0.6306 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009429/0.0009432, allocations: 91.75 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005851/0.0005852, allocations: 10.88 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.285, allocations: 115.3 MB / 0.9794 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01482/0.2999, allocations: 17.41 MB / 0.9964 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005386/0.3053, allocations: 3.965 MB / 1 GB, free: 6.305 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006288/0.306, allocations: 15.88 kB / 1 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009118/0.3069, allocations: 258.7 kB / 1.001 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.3092, allocations: 0.7963 MB / 1.001 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.3112, allocations: 0.7577 MB / 1.002 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001266/0.3125, allocations: 0.8359 MB / 1.003 GB, free: 3.656 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004749/0.3129, allocations: 355.2 kB / 1.003 GB, free: 3.309 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006699/0.3136, allocations: 474.4 kB / 1.004 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/0.314, allocations: 322.7 kB / 1.004 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.122e-05/0.3141, allocations: 24 kB / 1.004 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008416/0.3149, allocations: 391.4 kB / 1.004 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.558e-05/0.315, allocations: 103.6 kB / 1.004 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.3151, allocations: 125.5 kB / 1.005 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005153/0.3156, allocations: 0.5105 MB / 1.005 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.3157, allocations: 11.81 kB / 1.005 GB, free: 1.367 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.815e-06/0.3157, allocations: 0 / 1.005 GB, free: 1.367 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.3157, allocations: 0 / 1.005 GB, free: 1.367 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001322/0.317, allocations: 0.8176 MB / 1.006 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3171, allocations: 12.03 kB / 1.006 GB, free: 500 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.914e-05/0.3172, allocations: 59.25 kB / 1.006 GB, free: 440 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005869/0.3178, allocations: 438.9 kB / 1.006 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.3178, allocations: 24.66 kB / 1.006 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.3179, allocations: 36 kB / 1.006 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006474/0.3185, allocations: 310 kB / 1.007 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.3185, allocations: 7.938 kB / 1.007 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.3186, allocations: 8 kB / 1.007 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.3186, allocations: 11.94 kB / 1.007 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006554/0.3193, allocations: 282.4 kB / 1.007 GB, free: 15.29 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.3215, allocations: 1.356 MB / 1.008 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006479/0.3222, allocations: 282.5 kB / 1.009 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004798/0.3226, allocations: 0.4947 MB / 1.009 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.744e-05/0.3227, allocations: 42.58 kB / 1.009 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 1.853e-06/0.3227, allocations: 0 / 1.009 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.001793/0.3245, allocations: 0.5827 MB / 1.01 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.3246, allocations: 55.41 kB / 1.01 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005059/0.3251, allocations: 462.1 kB / 1.01 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.3252, allocations: 33.7 kB / 1.01 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.3254, allocations: 248.4 kB / 1.01 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.737e-05/0.3254, allocations: 82.75 kB / 1.011 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/0.3255, allocations: 8 kB / 1.011 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3256, allocations: 358.7 kB / 1.011 GB, free: 11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.3259, allocations: 127.7 kB / 1.011 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.3263, allocations: 192.9 kB / 1.011 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.3266, allocations: 150.5 kB / 1.011 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3267, allocations: 0 / 1.011 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000987/0.3276, allocations: 433.8 kB / 1.012 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.3278, allocations: 275 kB / 1.012 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3278, allocations: 0 / 1.012 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003529/0.3282, allocations: 56.75 kB / 1.012 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.3285, allocations: 67.95 kB / 1.012 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004409/0.3289, allocations: 0.5679 MB / 1.013 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/0.3295, allocations: 78.55 kB / 1.013 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.3295, allocations: 11.98 kB / 1.013 GB, free: 9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.188e-06/0.3295, allocations: 4 kB / 1.013 GB, free: 8.996 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007112/0.3302, allocations: 315.7 kB / 1.013 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3303, allocations: 7.938 kB / 1.013 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-06/0.3303, allocations: 4 kB / 1.013 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.3307, allocations: 83.89 kB / 1.013 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.3307, allocations: 4 kB / 1.013 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.3311, allocations: 63.69 kB / 1.013 GB, free: 8.527 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.3312, allocations: 16 kB / 1.013 GB, free: 8.512 MB / 0.6355 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003212/0.3315, allocations: 245 kB / 1.014 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.101e-05/0.3316, allocations: 47.44 kB / 1.014 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.3326, allocations: 447.9 kB / 1.014 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.3327, allocations: 4 kB / 1.014 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3327, allocations: 0 / 1.014 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3327, allocations: 0 / 1.014 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.3343, allocations: 0.9648 MB / 1.015 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3343, allocations: 0 / 1.015 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.3345, allocations: 60.03 kB / 1.015 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002065/0.3347, allocations: 48.8 kB / 1.015 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.3348, allocations: 8 kB / 1.015 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003643/0.3351, allocations: 0.5562 MB / 1.016 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.3352, allocations: 8 kB / 1.016 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008471/0.336, allocations: 0.5564 MB / 1.016 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.3362, allocations: 156.4 kB / 1.016 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/0.3363, allocations: 4 kB / 1.016 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.3367, allocations: 47.86 kB / 1.016 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.3367, allocations: 27.91 kB / 1.016 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.3368, allocations: 12 kB / 1.016 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003535/0.3371, allocations: 314.9 kB / 1.017 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3371, allocations: 0 / 1.017 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008251/0.338, allocations: 255.5 kB / 1.017 GB, free: 4.59 MB / 0.6355 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000546/0.3385, allocations: 252 kB / 1.017 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.3397, allocations: 488.4 kB / 1.018 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.3397, allocations: 0 / 1.018 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.3402, allocations: 186.7 kB / 1.018 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.3415, allocations: 246.6 kB / 1.018 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.343, allocations: 0.9754 MB / 1.019 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.3435, allocations: 0.8631 MB / 1.02 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004495/0.3439, allocations: 120.4 kB / 1.02 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.965e-05/0.344, allocations: 43.42 kB / 1.02 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of SimCode: time 7.21e-07/0.344, allocations: 0 / 1.02 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of Templates: time 0.01699/0.361, allocations: 9.59 MB / 1.029 GB, free: 7.934 MB / 0.6511 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)