Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.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.Example2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example2",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.574/2.574, allocations: 287.5 MB / 302.4 MB, free: 8.277 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.001255/0.001254, allocations: 170.2 kB / 371 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.064/2.064, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.000871/0.0008708, allocations: 89.72 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000645/0.0006454, allocations: 11.72 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2065, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03577/0.2423, allocations: 27.26 MB / 1.005 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02595/0.2683, allocations: 11.72 MB / 1.017 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00182/0.2702, allocations: 35.75 kB / 1.017 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002581/0.2728, allocations: 469.2 kB / 1.017 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005257/0.2781, allocations: 1.2 MB / 1.018 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004878/0.2831, allocations: 1.044 MB / 1.019 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008032/0.2911, allocations: 4.271 MB / 1.023 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.2938, allocations: 0.9883 MB / 1.024 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003861/0.2977, allocations: 1.206 MB / 1.026 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002702/0.3005, allocations: 0.9878 MB / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0005284/0.301, allocations: 52 kB / 1.027 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003695/0.3048, allocations: 0.8658 MB / 1.027 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0009159/0.3057, allocations: 318.7 kB / 1.028 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0008087/0.3066, allocations: 316.9 kB / 1.028 GB, free: 9.398 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00404/0.3106, allocations: 1.793 MB / 1.03 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.3107, allocations: 0 / 1.03 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3107, allocations: 0 / 1.03 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.916e-05/0.3108, allocations: 0 / 1.03 GB, free: 7.602 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005431/0.3162, allocations: 1.721 MB / 1.031 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/0.3163, allocations: 12.03 kB / 1.031 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004272/0.3168, allocations: 118.6 kB / 1.032 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002041/0.3188, allocations: 257.8 kB / 1.032 GB, free: 5.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004221/0.3231, allocations: 1.269 MB / 1.033 GB, free: 4.109 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.3233, allocations: 62 kB / 1.033 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002987/0.3236, allocations: 95.94 kB / 1.033 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003259/0.3269, allocations: 1.023 MB / 1.034 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.718e-05/0.3269, allocations: 0 / 1.034 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.3271, allocations: 32 kB / 1.034 GB, free: 2.848 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.3271, allocations: 20 kB / 1.034 GB, free: 2.828 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003258/0.3304, allocations: 0.7883 MB / 1.035 GB, free: 2.039 MB / 0.6511 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.01116/0.3416, allocations: 5.14 MB / 1.04 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002688/0.3444, allocations: 0.6489 MB / 1.041 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/0.3458, allocations: 358.7 kB / 1.041 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004209/0.3501, allocations: 1.677 MB / 1.043 GB, free: 9.707 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00145/0.3516, allocations: 379 kB / 1.043 GB, free: 9.324 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008438/0.3525, allocations: 99.47 kB / 1.043 GB, free: 9.227 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=44): time 4.458e-06/0.3525, allocations: 0 / 1.043 GB, free: 9.227 MB / 0.6667 GB Notification: Performance of matching and sorting (n=44): time 0.007404/0.36, allocations: 1.383 MB / 1.044 GB, free: 7.812 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/0.3601, allocations: 63.34 kB / 1.044 GB, free: 7.738 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00298/0.3631, allocations: 1.305 MB / 1.046 GB, free: 6.418 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002268/0.3633, allocations: 45.7 kB / 1.046 GB, free: 6.367 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009077/0.3643, allocations: 0.6372 MB / 1.046 GB, free: 5.723 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/0.3646, allocations: 153.8 kB / 1.047 GB, free: 5.57 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.3647, allocations: 16 kB / 1.047 GB, free: 5.555 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3648, allocations: 330 kB / 1.047 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.366, allocations: 269.8 kB / 1.047 GB, free: 4.965 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.3677, allocations: 0.6208 MB / 1.048 GB, free: 4.188 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.3692, allocations: 390.1 kB / 1.048 GB, free: 3.797 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/0.3693, allocations: 4 kB / 1.048 GB, free: 3.793 MB / 0.6667 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004786/0.3741, allocations: 1.145 MB / 1.049 GB, free: 2.629 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003257/0.3745, allocations: 355.3 kB / 1.05 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.3745, allocations: 8 kB / 1.05 GB, free: 2.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/0.376, allocations: 220.6 kB / 1.05 GB, free: 1.941 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.3772, allocations: 151.7 kB / 1.05 GB, free: 1.793 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.3789, allocations: 0.8643 MB / 1.051 GB, free: 0.9023 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.3809, allocations: 96.53 kB / 1.051 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/0.3812, allocations: 39.98 kB / 1.051 GB, free: 0.7656 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3812, allocations: 4 kB / 1.051 GB, free: 0.7617 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002947/0.3842, allocations: 0.8713 MB / 1.052 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/0.3842, allocations: 11.94 kB / 1.052 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006483/0.3849, allocations: 141.2 kB / 1.052 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009706/0.3859, allocations: 139.8 kB / 1.052 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00417/0.3901, allocations: 2.337 MB / 1.054 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.3919, allocations: 88.48 kB / 1.054 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.3921, allocations: 36 kB / 1.054 GB, free: 12.98 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * 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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.001154/0.3933, allocations: 478.2 kB / 1.055 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004128/0.3937, allocations: 130.4 kB / 1.055 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003703/0.3974, allocations: 0.9546 MB / 1.056 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/0.3975, allocations: 4 kB / 1.056 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3975, allocations: 0 / 1.056 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00298/0.4005, allocations: 0.9389 MB / 1.057 GB, free: 10.39 MB / 0.6823 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 postOpt removeSimpleEquations (simulation): time 0.006343/0.4069, allocations: 1.998 MB / 1.059 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.4069, allocations: 0 / 1.059 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008688/0.4078, allocations: 91.86 kB / 1.059 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005967/0.4084, allocations: 140.8 kB / 1.059 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.775e-05/0.4086, allocations: 24 kB / 1.059 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.4097, allocations: 0.8252 MB / 1.06 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4098, allocations: 0 / 1.06 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004686/0.4145, allocations: 1.303 MB / 1.061 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009683/0.4155, allocations: 283.3 kB / 1.061 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000323/0.4159, allocations: 15.98 kB / 1.061 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/0.4175, allocations: 79.92 kB / 1.062 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.4177, allocations: 36.39 kB / 1.062 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.4178, allocations: 23.97 kB / 1.062 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00229/0.4201, allocations: 0.9049 MB / 1.062 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.082e-06/0.4202, allocations: 3.938 kB / 1.062 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003325/0.4235, allocations: 0.6862 MB / 1.063 GB, free: 3.828 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.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 (39): * Single equations (assignments): 33 * 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 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00601/0.4296, allocations: 2.025 MB / 1.065 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005529/0.4351, allocations: 1.418 MB / 1.067 GB, free: 328 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.4352, allocations: 256 / 1.067 GB, free: 328 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.6094/1.045, allocations: 362.5 kB / 1.067 GB, free: 88.44 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005711/1.05, allocations: 0.5862 MB / 1.067 GB, free: 88.44 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02944/1.08, allocations: 8.307 MB / 1.076 GB, free: 85.07 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/1.081, allocations: 1.272 MB / 1.077 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002418/1.084, allocations: 305.2 kB / 1.077 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/1.085, allocations: 0.4891 MB / 1.078 GB, free: 83.92 MB / 0.6823 GB Notification: Performance of SimCode: time 1.162e-06/1.085, allocations: 0 / 1.078 GB, free: 83.92 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1197/1.205, allocations: 37.61 MB / 1.114 GB, free: 70.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003081/1.205, allocations: 249.2 kB / 1.115 GB, free: 69.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.965/5.171, allocations: 3.5 kB / 1.115 GB, free: 69.82 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example2.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)