Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.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: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 252 MB / 267 MB, free: 10.98 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.001218/0.001218, allocations: 178.4 kB / 326.6 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.678/1.678, allocations: 205.4 MB / 0.5777 GB, free: 20.59 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.0008608/0.0008609, allocations: 93.94 kB / 0.6823 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003518, allocations: 9 kB / 0.7964 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2234, allocations: 106.4 MB / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.04785/0.2713, allocations: 66.83 MB / 0.9656 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02896/0.3003, allocations: 18.89 MB / 0.984 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004028/0.3044, allocations: 79.44 kB / 0.9841 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003391/0.3078, allocations: 0.6715 MB / 0.9847 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007547/0.3154, allocations: 1.918 MB / 0.9866 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005293/0.3207, allocations: 1.575 MB / 0.9882 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00998/0.3307, allocations: 9.027 MB / 0.997 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007806/0.3385, allocations: 5.318 MB / 1.002 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006659/0.3452, allocations: 2.68 MB / 1.005 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00484/0.3501, allocations: 2.303 MB / 1.007 GB, free: 2.746 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001141/0.3513, allocations: 128 kB / 1.007 GB, free: 2.621 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004162/0.3555, allocations: 1.018 MB / 1.008 GB, free: 1.602 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001467/0.357, allocations: 0.6066 MB / 1.009 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00191/0.3589, allocations: 0.6445 MB / 1.009 GB, free: 348 kB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.005503/0.3644, allocations: 3.48 MB / 1.013 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3645, allocations: 0 / 1.013 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3645, allocations: 4 kB / 1.013 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000194/0.3647, allocations: 0 / 1.013 GB, free: 12.85 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.008743/0.3734, allocations: 3.853 MB / 1.017 GB, free: 8.922 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3735, allocations: 15.95 kB / 1.017 GB, free: 8.906 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007467/0.3743, allocations: 232 kB / 1.017 GB, free: 8.668 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00255/0.3768, allocations: 0.5735 MB / 1.017 GB, free: 8.09 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005017/0.3819, allocations: 2.454 MB / 1.02 GB, free: 5.574 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.382, allocations: 139.8 kB / 1.02 GB, free: 5.438 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003075/0.3823, allocations: 191.9 kB / 1.02 GB, free: 5.25 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004209/0.3865, allocations: 2.412 MB / 1.022 GB, free: 2.699 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.008e-05/0.3866, allocations: 7.938 kB / 1.022 GB, free: 2.691 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/0.3868, allocations: 68 kB / 1.022 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.572e-05/0.3868, allocations: 40 kB / 1.023 GB, free: 2.586 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003914/0.3908, allocations: 2.025 MB / 1.024 GB, free: 0.5547 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.01654/0.4073, allocations: 12.13 MB / 1.036 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0031/0.4104, allocations: 1.55 MB / 1.038 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/0.4122, allocations: 1.094 MB / 1.039 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007189/0.4194, allocations: 4.083 MB / 1.043 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001587/0.4211, allocations: 0.8794 MB / 1.044 GB, free: 11.9 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00182/0.4229, allocations: 454.6 kB / 1.044 GB, free: 11.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=96): time 5.2e-06/0.4229, allocations: 3.984 kB / 1.044 GB, free: 11.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=96): time 0.01642/0.4394, allocations: 5.201 MB / 1.049 GB, free: 6.199 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.4394, allocations: 64.41 kB / 1.049 GB, free: 6.125 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003966/0.4434, allocations: 2.995 MB / 1.052 GB, free: 3.129 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002312/0.4437, allocations: 57.7 kB / 1.052 GB, free: 3.066 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001178/0.4449, allocations: 1.412 MB / 1.054 GB, free: 1.645 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/0.4452, allocations: 343.1 kB / 1.054 GB, free: 1.305 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-05/0.4453, allocations: 28 kB / 1.054 GB, free: 1.277 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4454, allocations: 369.9 kB / 1.054 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.4468, allocations: 0.6909 MB / 1.055 GB, free: 224 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4119/0.8587, allocations: 1.484 MB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/0.8604, allocations: 0.9109 MB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.8604, allocations: 4.75 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006553/0.867, allocations: 2.942 MB / 1.06 GB, free: 145.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003006/0.8673, allocations: 0.5373 MB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.8673, allocations: 15.03 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003004/0.8704, allocations: 0.7753 MB / 1.062 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.8718, allocations: 309.5 kB / 1.062 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.8741, allocations: 2.166 MB / 1.064 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003128/0.8773, allocations: 248.6 kB / 1.064 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003272/0.8776, allocations: 79.97 kB / 1.064 GB, free: 144.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.8776, allocations: 6.469 kB / 1.064 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005203/0.8829, allocations: 2.308 MB / 1.067 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.804e-05/0.8829, allocations: 13.91 kB / 1.067 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001708/0.8846, allocations: 0.5866 MB / 1.067 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.886, allocations: 286.8 kB / 1.067 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008488/0.8945, allocations: 6.484 MB / 1.074 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/0.8972, allocations: 238.9 kB / 1.074 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002279/0.8975, allocations: 69.47 kB / 1.074 GB, free: 141.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001962/0.8995, allocations: 0.8259 MB / 1.075 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006297/0.9001, allocations: 289.7 kB / 1.075 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004887/0.905, allocations: 2.49 MB / 1.078 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/0.905, allocations: 11.89 kB / 1.078 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.9051, allocations: 0 / 1.078 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003565/0.9086, allocations: 2.199 MB / 1.08 GB, free: 139.3 MB / 0.698 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.007522/0.9162, allocations: 4.706 MB / 1.084 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.9162, allocations: 0.5938 kB / 1.084 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000817/0.917, allocations: 163.5 kB / 1.084 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.9183, allocations: 0.5487 MB / 1.085 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.9184, allocations: 25.89 kB / 1.085 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/0.9206, allocations: 2.089 MB / 1.087 GB, free: 135.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.9206, allocations: 5.078 kB / 1.087 GB, free: 135.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005385/0.926, allocations: 3.337 MB / 1.09 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/0.9275, allocations: 0.5604 MB / 1.091 GB, free: 132.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004107/0.9279, allocations: 15.91 kB / 1.091 GB, free: 132.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/0.9297, allocations: 208.6 kB / 1.091 GB, free: 132.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.9299, allocations: 65.95 kB / 1.091 GB, free: 132.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.798e-05/0.93, allocations: 42.69 kB / 1.091 GB, free: 132.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002699/0.9327, allocations: 2.046 MB / 1.093 GB, free: 131.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9327, allocations: 0 / 1.093 GB, free: 131.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003954/0.9366, allocations: 1.478 MB / 1.095 GB, free: 130.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.005437/0.9421, allocations: 4.007 MB / 1.099 GB, free: 126.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005352/0.9475, allocations: 3.252 MB / 1.102 GB, free: 123.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.9475, allocations: 0 / 1.102 GB, free: 123.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001407/0.9489, allocations: 0.8229 MB / 1.103 GB, free: 122.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007617/0.9566, allocations: 1.574 MB / 1.104 GB, free: 121.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04186/0.9985, allocations: 21.22 MB / 1.125 GB, free: 98.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/0.9996, allocations: 2.044 MB / 1.127 GB, free: 96.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002735/1.002, allocations: 0.679 MB / 1.127 GB, free: 95.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/1.004, allocations: 1.171 MB / 1.129 GB, free: 94.67 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/1.004, allocations: 0 / 1.129 GB, free: 94.67 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/1.112, allocations: 84.71 MB / 1.211 GB, free: 10.64 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/1.112, allocations: 263.4 kB / 1.212 GB, free: 10.27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.41/5.522, allocations: 0 / 1.212 GB, free: 10.27 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)