Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 98.92 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.751/1.751, allocations: 292.5 MB / 0.5497 GB, free: 14.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005831/0.0005832, allocations: 18.62 kB / 0.6735 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2822, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02042/0.3027, allocations: 17.41 MB / 0.8041 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006364/0.3091, allocations: 3.953 MB / 0.808 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009733/0.3101, allocations: 15.88 kB / 0.808 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.3113, allocations: 258.7 kB / 0.8082 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002997/0.3143, allocations: 0.7984 MB / 0.809 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002457/0.3168, allocations: 0.7712 MB / 0.8098 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00154/0.3183, allocations: 0.8358 MB / 0.8106 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005992/0.3189, allocations: 339.2 kB / 0.8109 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008907/0.3199, allocations: 486.3 kB / 0.8114 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004469/0.3203, allocations: 318.7 kB / 0.8117 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.365e-05/0.3204, allocations: 20 kB / 0.8117 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.3214, allocations: 399.5 kB / 0.8121 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.3215, allocations: 99.52 kB / 0.8122 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.3216, allocations: 125.4 kB / 0.8123 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006/0.3223, allocations: 0.5183 MB / 0.8128 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3223, allocations: 0 / 0.8128 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.827e-06/0.3223, allocations: 0 / 0.8128 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.3223, allocations: 3.938 kB / 0.8128 GB, free: 1.621 MB / 0.6231 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.00145/0.3237, allocations: 0.8253 MB / 0.8136 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3238, allocations: 8.031 kB / 0.8136 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.3239, allocations: 63.25 kB / 0.8137 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/0.3245, allocations: 434.9 kB / 0.8141 GB, free: 212 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.3246, allocations: 24.66 kB / 0.8141 GB, free: 184 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/0.3246, allocations: 40 kB / 0.8141 GB, free: 144 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000603/0.3252, allocations: 310.1 kB / 0.8144 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3252, allocations: 0 / 0.8144 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.3253, allocations: 12 kB / 0.8145 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.3253, allocations: 7.938 kB / 0.8145 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005775/0.3259, allocations: 286.4 kB / 0.8147 GB, free: 15.53 MB / 0.6387 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.002/0.3279, allocations: 1.356 MB / 0.8161 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006121/0.3285, allocations: 291.1 kB / 0.8163 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004408/0.329, allocations: 0.4908 MB / 0.8168 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.329, allocations: 38.98 kB / 0.8169 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.329, allocations: 4 kB / 0.8169 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001645/0.3307, allocations: 0.5836 MB / 0.8174 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.3307, allocations: 55.41 kB / 0.8175 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00047/0.3312, allocations: 466.1 kB / 0.8179 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.3312, allocations: 29.7 kB / 0.818 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.3314, allocations: 248.4 kB / 0.8182 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.236e-05/0.3315, allocations: 86.75 kB / 0.8183 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/0.3315, allocations: 4 kB / 0.8183 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3316, allocations: 362.7 kB / 0.8186 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.3319, allocations: 127.9 kB / 0.8187 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/0.3323, allocations: 185 kB / 0.8189 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.3326, allocations: 143.2 kB / 0.8191 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3326, allocations: 0 / 0.8191 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008846/0.3335, allocations: 426.6 kB / 0.8195 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.3336, allocations: 282.2 kB / 0.8197 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3336, allocations: 48 / 0.8197 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003205/0.334, allocations: 56.8 kB / 0.8198 GB, free: 10 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.3343, allocations: 79.83 kB / 0.8199 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004064/0.3347, allocations: 0.564 MB / 0.8204 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/0.3352, allocations: 67.64 kB / 0.8205 GB, free: 9.266 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/0.3352, allocations: 23.98 kB / 0.8205 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/0.3352, allocations: 4 kB / 0.8205 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006587/0.3359, allocations: 315.6 kB / 0.8208 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3359, allocations: 3.953 kB / 0.8208 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-06/0.3359, allocations: 4 kB / 0.8208 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.3363, allocations: 87.89 kB / 0.8209 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.3363, allocations: 0 / 0.8209 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/0.3367, allocations: 67.69 kB / 0.821 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.3367, allocations: 12 kB / 0.821 GB, free: 8.758 MB / 0.6387 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.0002424/0.337, allocations: 237 kB / 0.8212 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/0.337, allocations: 47.44 kB / 0.8212 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009098/0.338, allocations: 456 kB / 0.8217 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.338, allocations: 4 kB / 0.8217 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.338, allocations: 0 / 0.8217 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.338, allocations: 0 / 0.8217 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.3394, allocations: 0.9787 MB / 0.8226 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3395, allocations: 0 / 0.8226 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.3397, allocations: 47.97 kB / 0.8227 GB, free: 6.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001525/0.3398, allocations: 52.89 kB / 0.8227 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.3399, allocations: 4 kB / 0.8227 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003403/0.3402, allocations: 0.5562 MB / 0.8233 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.3402, allocations: 4.031 kB / 0.8233 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007996/0.341, allocations: 0.5538 MB / 0.8238 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.3412, allocations: 160.4 kB / 0.824 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/0.3413, allocations: 8 kB / 0.824 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.3416, allocations: 47.86 kB / 0.824 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.3417, allocations: 19.97 kB / 0.8241 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.3417, allocations: 12 kB / 0.8241 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000315/0.3421, allocations: 326.9 kB / 0.8244 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3421, allocations: 0 / 0.8244 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000668/0.3427, allocations: 243.5 kB / 0.8246 GB, free: 4.84 MB / 0.6387 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.0004711/0.3432, allocations: 255.9 kB / 0.8249 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.3443, allocations: 483.5 kB / 0.8253 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3443, allocations: 0 / 0.8253 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.3447, allocations: 179.8 kB / 0.8255 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.3459, allocations: 256.5 kB / 0.8257 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.3472, allocations: 0.9694 MB / 0.8267 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.3476, allocations: 0.8747 MB / 0.8275 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003869/0.348, allocations: 116.5 kB / 0.8276 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.666e-05/0.3481, allocations: 43.36 kB / 0.8277 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.3481, allocations: 0 / 0.8277 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of Templates: time 0.01517/0.3633, allocations: 9.58 MB / 0.837 GB, free: 8.211 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) Environment - environmentSimulation: