Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.615/2.615, allocations: 287.3 MB / 302.3 MB, free: 8.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.001651/0.001651, allocations: 183.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.107/2.107, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001158/0.001158, allocations: 99.45 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006643/0.0006644, allocations: 10.47 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2423, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.04849/0.2909, allocations: 27.5 MB / 1.005 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02793/0.3189, allocations: 11.6 MB / 1.016 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/0.321, allocations: 43.69 kB / 1.016 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003405/0.3245, allocations: 0.6065 MB / 1.017 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007061/0.3316, allocations: 1.447 MB / 1.019 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01215/0.3438, allocations: 2.289 MB / 1.021 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007043/0.3509, allocations: 2.831 MB / 1.024 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003882/0.3548, allocations: 1.607 MB / 1.025 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004578/0.3595, allocations: 1.312 MB / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002709/0.3622, allocations: 0.9333 MB / 1.027 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0006143/0.3629, allocations: 68 kB / 1.027 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003686/0.3666, allocations: 0.7647 MB / 1.028 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001066/0.3677, allocations: 354.5 kB / 1.028 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.3689, allocations: 400.7 kB / 1.029 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004942/0.3739, allocations: 2.112 MB / 1.031 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.374, allocations: 0 / 1.031 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.436e-06/0.374, allocations: 0 / 1.031 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.846e-05/0.3741, allocations: 0 / 1.031 GB, free: 6.312 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.006736/0.3808, allocations: 2.069 MB / 1.033 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.3809, allocations: 8.031 kB / 1.033 GB, free: 4.168 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005848/0.3815, allocations: 151.8 kB / 1.033 GB, free: 4.012 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002304/0.3838, allocations: 313.3 kB / 1.033 GB, free: 3.703 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005632/0.3895, allocations: 1.563 MB / 1.035 GB, free: 2.094 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.3897, allocations: 82 kB / 1.035 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004006/0.3901, allocations: 108 kB / 1.035 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004293/0.3944, allocations: 1.307 MB / 1.036 GB, free: 0.5273 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.602e-05/0.3946, allocations: 7.938 kB / 1.036 GB, free: 0.5195 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/0.3948, allocations: 40 kB / 1.036 GB, free: 492 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.334e-05/0.3948, allocations: 24 kB / 1.036 GB, free: 468 kB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004367/0.3992, allocations: 1.046 MB / 1.037 GB, free: 15.41 MB / 0.6667 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.01508/0.4143, allocations: 6.922 MB / 1.044 GB, free: 8.008 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/0.4172, allocations: 0.6625 MB / 1.045 GB, free: 7.34 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0054/0.4227, allocations: 1.877 MB / 1.047 GB, free: 5.312 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00156/0.4243, allocations: 401 kB / 1.047 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001188/0.4255, allocations: 111.2 kB / 1.047 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=46): time 5.4e-06/0.4256, allocations: 0 / 1.047 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46): time 0.008322/0.4339, allocations: 1.507 MB / 1.049 GB, free: 3.262 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.434, allocations: 59.41 kB / 1.049 GB, free: 3.191 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004586/0.4386, allocations: 1.854 MB / 1.05 GB, free: 1.293 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002258/0.4389, allocations: 41.7 kB / 1.051 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.4402, allocations: 0.8579 MB / 1.051 GB, free: 388 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003359/0.4406, allocations: 165.7 kB / 1.052 GB, free: 220 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.903e-05/0.4407, allocations: 16 kB / 1.052 GB, free: 204 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.4409, allocations: 334 kB / 1.052 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.4423, allocations: 317.7 kB / 1.052 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/0.4442, allocations: 0.7683 MB / 1.053 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.446, allocations: 450.3 kB / 1.053 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.59e-05/0.4461, allocations: 7.938 kB / 1.053 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.005633/0.4517, allocations: 1.328 MB / 1.055 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001853/0.4536, allocations: 4.223 MB / 1.059 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.491e-05/0.4537, allocations: 12 kB / 1.059 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/0.4554, allocations: 218 kB / 1.059 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.4569, allocations: 183.7 kB / 1.059 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.4584, allocations: 0.8332 MB / 1.06 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/0.4613, allocations: 136.4 kB / 1.06 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002825/0.4616, allocations: 43.98 kB / 1.06 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.4616, allocations: 4 kB / 1.06 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003572/0.4652, allocations: 1.016 MB / 1.061 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.15e-05/0.4653, allocations: 12 kB / 1.061 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007396/0.4661, allocations: 158.1 kB / 1.061 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.4673, allocations: 167.7 kB / 1.061 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004702/0.4721, allocations: 2.388 MB / 1.064 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/0.4746, allocations: 116.5 kB / 1.064 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.4748, allocations: 47.91 kB / 1.064 GB, free: 2.734 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * Algorithm blocks: 1 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.001619/0.4765, allocations: 0.5941 MB / 1.065 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006237/0.4771, allocations: 169.8 kB / 1.065 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004274/0.4814, allocations: 1.058 MB / 1.066 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.4815, allocations: 4 kB / 1.066 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4815, allocations: 0 / 1.066 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6654/1.147, allocations: 1.012 MB / 1.067 GB, free: 87.29 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008628/1.156, allocations: 2.297 MB / 1.069 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/1.156, allocations: 1.031 kB / 1.069 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009776/1.157, allocations: 95.17 kB / 1.069 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000717/1.157, allocations: 147.1 kB / 1.069 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/1.158, allocations: 12.7 kB / 1.069 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/1.159, allocations: 0.8145 MB / 1.07 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/1.159, allocations: 0.6562 kB / 1.07 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005587/1.164, allocations: 1.491 MB / 1.071 GB, free: 85.67 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/1.166, allocations: 349 kB / 1.072 GB, free: 85.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005986/1.166, allocations: 12.12 kB / 1.072 GB, free: 85.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002272/1.169, allocations: 99.67 kB / 1.072 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/1.169, allocations: 42.48 kB / 1.072 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/1.169, allocations: 22.88 kB / 1.072 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003875/1.173, allocations: 1.286 MB / 1.073 GB, free: 85.02 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.112e-06/1.173, allocations: 1.875 kB / 1.073 GB, free: 85.02 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004925/1.178, allocations: 0.8541 MB / 1.074 GB, free: 84.93 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.007284/1.185, allocations: 2.383 MB / 1.076 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005767/1.191, allocations: 1.509 MB / 1.078 GB, free: 82.99 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/1.191, allocations: 0 / 1.078 GB, free: 82.99 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001697/1.193, allocations: 361.7 kB / 1.078 GB, free: 82.89 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007851/1.201, allocations: 0.8503 MB / 1.079 GB, free: 82.72 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/1.216, allocations: 11.96 MB / 1.091 GB, free: 72.68 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002125/1.218, allocations: 1.524 MB / 1.092 GB, free: 71.88 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003319/1.221, allocations: 435.2 kB / 1.093 GB, free: 71.79 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001797/1.223, allocations: 0.6583 MB / 1.093 GB, free: 71.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.094e-06/1.223, allocations: 0 / 1.093 GB, free: 71.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1389/1.362, allocations: 47.89 MB / 1.14 GB, free: 42.35 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003066/1.362, allocations: 252.2 kB / 1.14 GB, free: 42.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.447/5.81, allocations: 0 / 1.14 GB, free: 42.02 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)