Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.49/1.49, allocations: 252 MB / 267.6 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001203/0.001203, allocations: 182.4 kB / 327.3 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.4 MB / 0.5783 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000927/0.0009275, allocations: 90.11 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003261, allocations: 9.156 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2159, allocations: 106.3 MB / 0.9008 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01339/0.2293, allocations: 19.06 MB / 0.9194 GB, free: 45.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005143/0.2345, allocations: 4.583 MB / 0.9239 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005975/0.2351, allocations: 11.88 kB / 0.9239 GB, free: 40.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006284/0.2358, allocations: 198.6 kB / 0.9241 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.2373, allocations: 0.6411 MB / 0.9247 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.239, allocations: 0.6062 MB / 0.9253 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001314/0.2403, allocations: 1.547 MB / 0.9268 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/0.2407, allocations: 338.8 kB / 0.9272 GB, free: 37.28 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006807/0.2414, allocations: 0.494 MB / 0.9276 GB, free: 36.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004442/0.2418, allocations: 430.2 kB / 0.9281 GB, free: 36.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.769e-05/0.2419, allocations: 24 kB / 0.9281 GB, free: 36.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008907/0.2428, allocations: 0.5223 MB / 0.9286 GB, free: 35.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.841e-05/0.2429, allocations: 99.56 kB / 0.9287 GB, free: 35.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.954e-05/0.243, allocations: 125.4 kB / 0.9288 GB, free: 35.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005201/0.2435, allocations: 0.5575 MB / 0.9294 GB, free: 35.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.2436, allocations: 0 / 0.9294 GB, free: 35.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.625e-06/0.2436, allocations: 0 / 0.9294 GB, free: 35.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.2436, allocations: 0 / 0.9294 GB, free: 35.03 MB / 0.6042 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.001295/0.2449, allocations: 0.8448 MB / 0.9302 GB, free: 34.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2449, allocations: 8.031 kB / 0.9302 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.884e-05/0.245, allocations: 63.25 kB / 0.9302 GB, free: 34.06 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005088/0.2455, allocations: 434.9 kB / 0.9307 GB, free: 33.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.2456, allocations: 28.66 kB / 0.9307 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.2457, allocations: 32 kB / 0.9307 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005764/0.2462, allocations: 322 kB / 0.931 GB, free: 33.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.2463, allocations: 0 / 0.931 GB, free: 33.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.2463, allocations: 12 kB / 0.931 GB, free: 33.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.2463, allocations: 8 kB / 0.931 GB, free: 33.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005675/0.2469, allocations: 278.4 kB / 0.9313 GB, free: 32.93 MB / 0.6042 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.001808/0.2487, allocations: 1.353 MB / 0.9326 GB, free: 31.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.2492, allocations: 262.4 kB / 0.9329 GB, free: 31.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.2494, allocations: 144.8 kB / 0.933 GB, free: 31.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003491/0.2498, allocations: 0.4986 MB / 0.9335 GB, free: 30.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.2498, allocations: 38.56 kB / 0.9335 GB, free: 30.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/0.2498, allocations: 0 / 0.9335 GB, free: 30.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.001611/0.2515, allocations: 0.5913 MB / 0.9341 GB, free: 29.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.2515, allocations: 59.41 kB / 0.9342 GB, free: 29.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003859/0.2519, allocations: 466 kB / 0.9346 GB, free: 29.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.2519, allocations: 33.7 kB / 0.9347 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.2521, allocations: 240.5 kB / 0.9349 GB, free: 28.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.117e-05/0.2521, allocations: 94.73 kB / 0.935 GB, free: 28.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/0.2521, allocations: 4 kB / 0.935 GB, free: 28.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.693e-05/0.2522, allocations: 362.7 kB / 0.9353 GB, free: 28.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.2525, allocations: 123.7 kB / 0.9354 GB, free: 28.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.2528, allocations: 189.2 kB / 0.9356 GB, free: 28.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.2531, allocations: 144.8 kB / 0.9358 GB, free: 28.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2531, allocations: 0 / 0.9358 GB, free: 28.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00091/0.254, allocations: 434.4 kB / 0.9362 GB, free: 27.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.51e-05/0.2541, allocations: 106.7 kB / 0.9363 GB, free: 27.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2541, allocations: 0 / 0.9363 GB, free: 27.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003422/0.2545, allocations: 56.77 kB / 0.9363 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003468/0.2548, allocations: 75.89 kB / 0.9364 GB, free: 27.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003167/0.2552, allocations: 0.5602 MB / 0.9369 GB, free: 26.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004783/0.2556, allocations: 67.69 kB / 0.937 GB, free: 26.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/0.2557, allocations: 16 kB / 0.937 GB, free: 26.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/0.2557, allocations: 4 kB / 0.937 GB, free: 26.68 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006279/0.2563, allocations: 315.6 kB / 0.9373 GB, free: 26.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-06/0.2564, allocations: 4 kB / 0.9373 GB, free: 26.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.546e-06/0.2564, allocations: 144 / 0.9373 GB, free: 26.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.2567, allocations: 95.88 kB / 0.9374 GB, free: 26.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.2568, allocations: 7.953 kB / 0.9374 GB, free: 26.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004205/0.2572, allocations: 65.27 kB / 0.9375 GB, free: 26.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.2572, allocations: 19.97 kB / 0.9375 GB, free: 26.18 MB / 0.6042 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.0001971/0.2574, allocations: 245 kB / 0.9377 GB, free: 25.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.519e-05/0.2575, allocations: 47.34 kB / 0.9378 GB, free: 25.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008637/0.2584, allocations: 436.8 kB / 0.9382 GB, free: 25.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.2584, allocations: 4 kB / 0.9382 GB, free: 25.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2584, allocations: 3.953 kB / 0.9382 GB, free: 25.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2584, allocations: 3.984 kB / 0.9382 GB, free: 25.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.2597, allocations: 0.9657 MB / 0.9392 GB, free: 24.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2597, allocations: 4 kB / 0.9392 GB, free: 24.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.2599, allocations: 51.92 kB / 0.9392 GB, free: 24.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001609/0.2601, allocations: 52.88 kB / 0.9393 GB, free: 24.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.2601, allocations: 11.98 kB / 0.9393 GB, free: 24.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002417/0.2603, allocations: 0.5524 MB / 0.9398 GB, free: 23.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2604, allocations: 0 / 0.9398 GB, free: 23.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006663/0.261, allocations: 0.5127 MB / 0.9403 GB, free: 23.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.2612, allocations: 160.3 kB / 0.9405 GB, free: 22.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/0.2612, allocations: 8 kB / 0.9405 GB, free: 22.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.2616, allocations: 47.89 kB / 0.9405 GB, free: 22.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.2617, allocations: 23.83 kB / 0.9405 GB, free: 22.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.2617, allocations: 12 kB / 0.9406 GB, free: 22.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002866/0.262, allocations: 318.9 kB / 0.9409 GB, free: 22.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.262, allocations: 3.938 kB / 0.9409 GB, free: 22.58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007059/0.2628, allocations: 251.5 kB / 0.9411 GB, free: 22.34 MB / 0.6042 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.0004885/0.2632, allocations: 251.5 kB / 0.9413 GB, free: 22.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.2643, allocations: 487.5 kB / 0.9418 GB, free: 21.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2644, allocations: 0 / 0.9418 GB, free: 21.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003657/0.2647, allocations: 176 kB / 0.942 GB, free: 21.44 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.2661, allocations: 256.9 kB / 0.9422 GB, free: 21.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.2674, allocations: 0.9984 MB / 0.9432 GB, free: 20.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.2677, allocations: 0.8552 MB / 0.944 GB, free: 19.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.2679, allocations: 47.36 kB / 0.9441 GB, free: 19.21 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/0.2679, allocations: 0 / 0.9441 GB, free: 19.21 MB / 0.6042 GB Notification: Performance of Templates: time 0.0116/0.2795, allocations: 10.22 MB / 0.9541 GB, free: 9.074 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)