Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001476/0.001476, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002547/0.002547, allocations: 197.2 kB / 16.53 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.646/1.646, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 60.14 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3675, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02311/0.3907, allocations: 20.74 MB / 1.088 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00776/0.3985, allocations: 4.951 MB / 1.093 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009844/0.3995, allocations: 23.88 kB / 1.093 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009537/0.4005, allocations: 278 kB / 1.094 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002315/0.4029, allocations: 0.8156 MB / 1.094 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.405, allocations: 0.6958 MB / 1.095 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001698/0.4067, allocations: 1.384 MB / 1.096 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006171/0.4073, allocations: 444.6 kB / 1.097 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009719/0.4083, allocations: 0.5681 MB / 1.097 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000573/0.4089, allocations: 446.1 kB / 1.098 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.555e-05/0.409, allocations: 40 kB / 1.098 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.4103, allocations: 0.6316 MB / 1.098 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.4104, allocations: 123.5 kB / 1.099 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002815/0.4107, allocations: 290.5 kB / 1.099 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.4119, allocations: 0.8295 MB / 1.1 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.4119, allocations: 0 / 1.1 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4119, allocations: 3.938 kB / 1.1 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.4119, allocations: 0 / 1.1 GB, free: 10.12 MB / 0.8575 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.001555/0.4135, allocations: 0.9187 MB / 1.101 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.4135, allocations: 15.97 kB / 1.101 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.4137, allocations: 64.19 kB / 1.101 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006137/0.4143, allocations: 463.3 kB / 1.101 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/0.4143, allocations: 28.66 kB / 1.101 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.4144, allocations: 32 kB / 1.101 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/0.415, allocations: 306 kB / 1.101 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.415, allocations: 0 / 1.101 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.4151, allocations: 16 kB / 1.101 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.4151, allocations: 8 kB / 1.101 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006102/0.4157, allocations: 262.4 kB / 1.102 GB, free: 7.934 MB / 0.8575 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.002109/0.4178, allocations: 1.345 MB / 1.103 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/0.4184, allocations: 255.8 kB / 1.103 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.4187, allocations: 137.4 kB / 1.103 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004918/0.4192, allocations: 0.4947 MB / 1.104 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.4192, allocations: 42.53 kB / 1.104 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/0.4192, allocations: 0 / 1.104 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.00179/0.421, allocations: 0.5556 MB / 1.104 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.4211, allocations: 55.41 kB / 1.104 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005269/0.4216, allocations: 470.2 kB / 1.105 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.4217, allocations: 33.7 kB / 1.105 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.4219, allocations: 244.4 kB / 1.105 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.784e-05/0.422, allocations: 86.75 kB / 1.105 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.4221, allocations: 73.67 kB / 1.105 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.4223, allocations: 358.8 kB / 1.106 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.4227, allocations: 120.8 kB / 1.106 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.4231, allocations: 187.1 kB / 1.106 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006685/0.4237, allocations: 278.1 kB / 1.106 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4238, allocations: 0 / 1.106 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001701/0.4255, allocations: 0.4896 MB / 1.107 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.4255, allocations: 8 kB / 1.107 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.4255, allocations: 0 / 1.107 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004358/0.426, allocations: 52.81 kB / 1.107 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/0.4264, allocations: 71.89 kB / 1.107 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006163/0.4271, allocations: 0.5602 MB / 1.107 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005142/0.4276, allocations: 51.64 kB / 1.107 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/0.4277, allocations: 23.92 kB / 1.107 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005236/0.4282, allocations: 243.9 kB / 1.108 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003463/0.4285, allocations: 185.3 kB / 1.108 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005808/0.4291, allocations: 253.6 kB / 1.108 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.864e-06/0.4291, allocations: 0 / 1.108 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008445/0.43, allocations: 364.8 kB / 1.108 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.43, allocations: 11.98 kB / 1.108 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.43, allocations: 0 / 1.108 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/0.4301, allocations: 8 kB / 1.108 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.4305, allocations: 79.83 kB / 1.109 GB, free: 460 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.4305, allocations: 7.938 kB / 1.109 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/0.431, allocations: 43.8 kB / 1.109 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.431, allocations: 19.92 kB / 1.109 GB, free: 388 kB / 0.8575 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.0001911/0.4312, allocations: 196.2 kB / 1.109 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.764e-05/0.4313, allocations: 51.38 kB / 1.109 GB, free: 132 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.4324, allocations: 428.1 kB / 1.109 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.4324, allocations: 4 kB / 1.109 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.4324, allocations: 0 / 1.109 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.4324, allocations: 3.984 kB / 1.109 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.434, allocations: 0.9408 MB / 1.11 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.924e-06/0.4341, allocations: 4 kB / 1.11 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.4343, allocations: 43.91 kB / 1.11 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002059/0.4345, allocations: 48.95 kB / 1.11 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.4346, allocations: 7.984 kB / 1.11 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004127/0.435, allocations: 0.5563 MB / 1.111 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.435, allocations: 8.016 kB / 1.111 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008302/0.4358, allocations: 0.4917 MB / 1.111 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.436, allocations: 156.4 kB / 1.111 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.442e-05/0.4361, allocations: 16 kB / 1.112 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.4365, allocations: 23.97 kB / 1.112 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/0.4366, allocations: 19.91 kB / 1.112 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.4366, allocations: 12 kB / 1.112 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004281/0.437, allocations: 326.9 kB / 1.112 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4371, allocations: 0 / 1.112 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009462/0.438, allocations: 251.5 kB / 1.112 GB, free: 12.65 MB / 0.8731 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.0007424/0.4388, allocations: 258.8 kB / 1.112 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.4401, allocations: 473.4 kB / 1.113 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4401, allocations: 0 / 1.113 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004179/0.4406, allocations: 171.8 kB / 1.113 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.4417, allocations: 222.1 kB / 1.113 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.4434, allocations: 0.8381 MB / 1.114 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005006/0.444, allocations: 0.8627 MB / 1.115 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004739/0.4444, allocations: 116.1 kB / 1.115 GB, free: 9.676 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.4445, allocations: 39.42 kB / 1.115 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.4446, allocations: 0 / 1.115 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of Templates: time 0.01873/0.4633, allocations: 10.13 MB / 1.125 GB, free: 15.66 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)