Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.758/1.758, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.001615/0.001615, allocations: 179.7 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.4 MB / 0.6305 GB, free: 10.05 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.00111/0.00111, allocations: 95.31 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000463/0.000463, allocations: 14.47 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2288, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.7185/0.9473, allocations: 135.5 MB / 1.112 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.9495, allocations: 0.972 MB / 1.113 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002475/0.9498, allocations: 8.062 kB / 1.113 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007145/0.9505, allocations: 172.5 kB / 1.113 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.9518, allocations: 411.8 kB / 1.113 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008594/0.9527, allocations: 262.1 kB / 1.114 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0004642/0.9532, allocations: 311.5 kB / 1.114 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003846/0.9536, allocations: 142.9 kB / 1.114 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007372/0.9543, allocations: 247.1 kB / 1.114 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.9545, allocations: 109.4 kB / 1.114 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.9546, allocations: 8.031 kB / 1.114 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000859/0.9554, allocations: 248.2 kB / 1.115 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.9556, allocations: 66 kB / 1.115 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.9558, allocations: 70.67 kB / 1.115 GB, free: 17.7 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006811/0.9565, allocations: 261.9 kB / 1.115 GB, free: 17.67 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.9565, allocations: 1.312 kB / 1.115 GB, free: 17.67 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/0.9565, allocations: 0 / 1.115 GB, free: 17.67 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.9566, allocations: 0 / 1.115 GB, free: 17.67 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001555/0.9581, allocations: 0.5537 MB / 1.115 GB, free: 17.24 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.9582, allocations: 9.719 kB / 1.115 GB, free: 17.24 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.492e-05/0.9583, allocations: 48.81 kB / 1.116 GB, free: 17.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.9585, allocations: 50.77 kB / 1.116 GB, free: 17.19 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.9589, allocations: 266.4 kB / 1.116 GB, free: 16.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.959, allocations: 11.86 kB / 1.116 GB, free: 16.97 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.959, allocations: 20.23 kB / 1.116 GB, free: 16.97 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.9596, allocations: 251.4 kB / 1.116 GB, free: 16.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.9596, allocations: 0 / 1.116 GB, free: 16.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.9596, allocations: 10.98 kB / 1.116 GB, free: 16.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.9597, allocations: 8.719 kB / 1.116 GB, free: 16.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006535/0.9603, allocations: 260.3 kB / 1.116 GB, free: 16.92 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 preOpt removeSimpleEquations (simulation): time 0.001394/0.9617, allocations: 0.7804 MB / 1.117 GB, free: 16.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.9621, allocations: 148.9 kB / 1.117 GB, free: 16.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.797e-05/0.9622, allocations: 6.984 kB / 1.117 GB, free: 16.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/0.9622, allocations: 38.5 kB / 1.117 GB, free: 16.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.9622, allocations: 0 / 1.117 GB, free: 16.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0009924/0.9632, allocations: 315.5 kB / 1.118 GB, free: 16.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.9633, allocations: 56.75 kB / 1.118 GB, free: 16.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.9636, allocations: 244.9 kB / 1.118 GB, free: 16.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.9636, allocations: 29.73 kB / 1.118 GB, free: 16.15 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.866e-05/0.9637, allocations: 138.7 kB / 1.118 GB, free: 16.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.9638, allocations: 50.33 kB / 1.118 GB, free: 16.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/0.9638, allocations: 2.062 kB / 1.118 GB, free: 16.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.9639, allocations: 336.4 kB / 1.118 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.9641, allocations: 71.41 kB / 1.118 GB, free: 15.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.9644, allocations: 104.4 kB / 1.119 GB, free: 15.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.9646, allocations: 83.95 kB / 1.119 GB, free: 15.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9646, allocations: 0 / 1.119 GB, free: 15.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004881/0.9651, allocations: 221.1 kB / 1.119 GB, free: 15.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.9651, allocations: 5.469 kB / 1.119 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.9651, allocations: 1.438 kB / 1.119 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.9652, allocations: 1.312 kB / 1.119 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.9654, allocations: 37.34 kB / 1.119 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.9654, allocations: 1.312 kB / 1.119 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.9656, allocations: 32.5 kB / 1.119 GB, free: 15.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.9656, allocations: 11.67 kB / 1.119 GB, free: 15.61 MB / 0.698 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 (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.9658, allocations: 140.4 kB / 1.119 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.9659, allocations: 22.56 kB / 1.119 GB, free: 15.49 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8e-05/0.966, allocations: 31.98 kB / 1.119 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.966, allocations: 3.594 kB / 1.119 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.966, allocations: 0.6875 kB / 1.119 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.966, allocations: 1.406 kB / 1.119 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.9672, allocations: 0.6977 MB / 1.12 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.9672, allocations: 1.969 kB / 1.12 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.9674, allocations: 33.72 kB / 1.12 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.9674, allocations: 2.875 kB / 1.12 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.9674, allocations: 9.984 kB / 1.12 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.9675, allocations: 8.422 kB / 1.12 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.9675, allocations: 6.156 kB / 1.12 GB, free: 15.08 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006004/0.9681, allocations: 442.1 kB / 1.12 GB, free: 14.76 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.9682, allocations: 116.7 kB / 1.12 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.9683, allocations: 8.016 kB / 1.12 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.9684, allocations: 18.67 kB / 1.12 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.9685, allocations: 10.25 kB / 1.12 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.9685, allocations: 12.06 kB / 1.12 GB, free: 14.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001933/0.9687, allocations: 176.6 kB / 1.121 GB, free: 14.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9687, allocations: 0 / 1.121 GB, free: 14.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004135/0.9691, allocations: 57.47 kB / 1.121 GB, free: 14.56 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001341/0.9705, allocations: 1.507 MB / 1.122 GB, free: 13.24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005047/0.971, allocations: 182.8 kB / 1.122 GB, free: 13.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.971, allocations: 1.156 kB / 1.122 GB, free: 13.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.9713, allocations: 102.5 kB / 1.122 GB, free: 13.22 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006909/0.972, allocations: 120.2 kB / 1.123 GB, free: 13.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.9747, allocations: 1.656 MB / 1.124 GB, free: 12.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.9751, allocations: 0.7552 MB / 1.125 GB, free: 11.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002723/0.9754, allocations: 65.7 kB / 1.125 GB, free: 11.61 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.9755, allocations: 71.91 kB / 1.125 GB, free: 11.6 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/0.9755, allocations: 4 kB / 1.125 GB, free: 11.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.9955, allocations: 6.38 MB / 1.131 GB, free: 9.66 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/0.9958, allocations: 232.6 kB / 1.132 GB, free: 9.422 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.83, allocations: 7.031 kB / 1.132 GB, free: 9.418 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)