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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.726/1.726, allocations: 292.3 MB / 308.1 MB, free: 4.246 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.001297/0.001297, allocations: 184.5 kB / 376.9 MB, free: 1.777 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.703/1.703, allocations: 205.1 MB / 0.6353 GB, free: 9.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009875/0.0009875, allocations: 100.1 kB / 0.748 GB, free: 61.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 59.91 kB / 0.8703 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.303, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02831/0.3314, allocations: 20.66 MB / 1.002 GB, free: 5.613 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.007402/0.3388, allocations: 4.967 MB / 1.007 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009099/0.3398, allocations: 15.88 kB / 1.007 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.3409, allocations: 226.7 kB / 1.007 GB, free: 404 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002472/0.3434, allocations: 0.7503 MB / 1.008 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.3454, allocations: 0.6317 MB / 1.009 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002366/0.3478, allocations: 1.824 MB / 1.011 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007543/0.3486, allocations: 376.1 kB / 1.011 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001324/0.3499, allocations: 0.5367 MB / 1.011 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009271/0.3509, allocations: 454 kB / 1.012 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.351, allocations: 24 kB / 1.012 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.3526, allocations: 0.6042 MB / 1.013 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002299/0.3528, allocations: 107.5 kB / 1.013 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0004445/0.3533, allocations: 278.5 kB / 1.013 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.3547, allocations: 0.8139 MB / 1.014 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3547, allocations: 0 / 1.014 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3547, allocations: 0 / 1.014 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.091e-05/0.3548, allocations: 0 / 1.014 GB, free: 9.996 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.002137/0.3569, allocations: 0.9266 MB / 1.015 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.357, allocations: 12.03 kB / 1.015 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002182/0.3572, allocations: 64.19 kB / 1.015 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007778/0.358, allocations: 459.3 kB / 1.015 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.358, allocations: 20.66 kB / 1.015 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.556e-05/0.3581, allocations: 36 kB / 1.015 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007852/0.3589, allocations: 310 kB / 1.015 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.3589, allocations: 0 / 1.015 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.496e-05/0.3589, allocations: 12 kB / 1.015 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.359, allocations: 8 kB / 1.015 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006762/0.3597, allocations: 258.4 kB / 1.016 GB, free: 7.82 MB / 0.7448 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.002593/0.3623, allocations: 1.341 MB / 1.017 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/0.3628, allocations: 256.9 kB / 1.017 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/0.3631, allocations: 140.7 kB / 1.017 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005648/0.3637, allocations: 0.4986 MB / 1.018 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.3638, allocations: 34.56 kB / 1.018 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 1.863e-06/0.3638, allocations: 0 / 1.018 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25): time 0.001884/0.3657, allocations: 0.5611 MB / 1.018 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.3657, allocations: 55.41 kB / 1.019 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005914/0.3663, allocations: 466.2 kB / 1.019 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.3664, allocations: 29.7 kB / 1.019 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.3666, allocations: 244.4 kB / 1.019 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.641e-05/0.3667, allocations: 90.73 kB / 1.019 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.3668, allocations: 77.58 kB / 1.019 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.367, allocations: 354.8 kB / 1.02 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.3674, allocations: 124.8 kB / 1.02 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/0.3677, allocations: 184.5 kB / 1.02 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006251/0.3684, allocations: 281.1 kB / 1.02 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3684, allocations: 0 / 1.02 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001549/0.3699, allocations: 489.7 kB / 1.021 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.37, allocations: 4 kB / 1.021 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.37, allocations: 0 / 1.021 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004034/0.3704, allocations: 68.75 kB / 1.021 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.3708, allocations: 59.95 kB / 1.021 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004842/0.3712, allocations: 0.564 MB / 1.021 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004949/0.3718, allocations: 67.62 kB / 1.022 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.3718, allocations: 16 kB / 1.022 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004283/0.3722, allocations: 240 kB / 1.022 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000366/0.3726, allocations: 177.2 kB / 1.022 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006041/0.3732, allocations: 252.8 kB / 1.022 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.717e-06/0.3732, allocations: 3.984 kB / 1.022 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008117/0.3741, allocations: 376.1 kB / 1.023 GB, free: 432 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.3741, allocations: 4 kB / 1.023 GB, free: 428 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3741, allocations: 3.984 kB / 1.023 GB, free: 424 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.624e-06/0.3741, allocations: 4 kB / 1.023 GB, free: 420 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.3745, allocations: 83.81 kB / 1.023 GB, free: 336 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.3745, allocations: 4 kB / 1.023 GB, free: 332 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/0.375, allocations: 55.78 kB / 1.023 GB, free: 276 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.375, allocations: 16 kB / 1.023 GB, free: 260 kB / 0.7448 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 (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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.3752, allocations: 196.1 kB / 1.023 GB, free: 56 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.3753, allocations: 55.34 kB / 1.023 GB, free: 0 / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5787/0.9541, allocations: 414.7 kB / 1.023 GB, free: 100.7 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.9541, allocations: 4.141 kB / 1.023 GB, free: 100.7 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.9541, allocations: 0.9688 kB / 1.023 GB, free: 100.7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.9542, allocations: 4.047 kB / 1.023 GB, free: 100.7 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.9558, allocations: 0.9444 MB / 1.024 GB, free: 100.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/0.9559, allocations: 2.188 kB / 1.024 GB, free: 100.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.9561, allocations: 50.44 kB / 1.024 GB, free: 100.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002027/0.9563, allocations: 41.8 kB / 1.024 GB, free: 100.4 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.9564, allocations: 7.531 kB / 1.024 GB, free: 100.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002939/0.9567, allocations: 0.5594 MB / 1.025 GB, free: 99.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.9567, allocations: 4.094 kB / 1.025 GB, free: 99.87 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.9581, allocations: 1.272 MB / 1.026 GB, free: 99.13 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.9583, allocations: 158.7 kB / 1.026 GB, free: 99.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.598e-05/0.9584, allocations: 5.562 kB / 1.026 GB, free: 99.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.9587, allocations: 39.81 kB / 1.026 GB, free: 99.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.459e-05/0.9588, allocations: 20.33 kB / 1.026 GB, free: 99.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.9589, allocations: 10.8 kB / 1.026 GB, free: 99.04 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003786/0.9593, allocations: 331.3 kB / 1.027 GB, free: 98.95 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9593, allocations: 0.6562 kB / 1.027 GB, free: 98.95 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001153/0.9604, allocations: 264.1 kB / 1.027 GB, free: 98.95 MB / 0.7448 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 (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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005392/0.961, allocations: 247.8 kB / 1.027 GB, free: 98.86 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.9622, allocations: 457.8 kB / 1.028 GB, free: 98.86 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.9622, allocations: 2.688 kB / 1.028 GB, free: 98.86 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004109/0.9627, allocations: 174.1 kB / 1.028 GB, free: 98.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.9641, allocations: 253.4 kB / 1.028 GB, free: 98.86 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.9659, allocations: 1.206 MB / 1.029 GB, free: 98.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.9662, allocations: 0.8687 MB / 1.03 GB, free: 97.48 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000483/0.9667, allocations: 123.5 kB / 1.03 GB, free: 97.47 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.9668, allocations: 39.47 kB / 1.03 GB, free: 97.47 MB / 0.7448 GB Notification: Performance of SimCode: time 7.82e-07/0.9668, allocations: 0 / 1.03 GB, free: 97.47 MB / 0.7448 GB Notification: Performance of Templates: time 0.02617/0.993, allocations: 10.19 MB / 1.04 GB, free: 96.81 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (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)