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.664/1.664, allocations: 288.4 MB / 303.3 MB, free: 8.152 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.00101/0.00101, allocations: 184.5 kB / 372 MB, free: 10.27 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.569/1.569, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.00127/0.00127, allocations: 96.83 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003913, allocations: 11.66 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2138, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.7279/0.9418, allocations: 146.5 MB / 1.123 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001841/0.9437, allocations: 0.9071 MB / 1.124 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.9439, allocations: 8.375 kB / 1.124 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004911/0.9444, allocations: 110.9 kB / 1.124 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001729/0.9461, allocations: 459.2 kB / 1.124 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005977/0.9467, allocations: 184.3 kB / 1.124 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0007143/0.9475, allocations: 0.6131 MB / 1.125 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003121/0.9478, allocations: 127.7 kB / 1.125 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000391/0.9482, allocations: 207.2 kB / 1.125 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.9484, allocations: 161.6 kB / 1.125 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.9484, allocations: 13.47 kB / 1.125 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006333/0.9491, allocations: 293.6 kB / 1.126 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 9.656e-05/0.9492, allocations: 72.19 kB / 1.126 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.9493, allocations: 66.58 kB / 1.126 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004312/0.9497, allocations: 297.4 kB / 1.126 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.9497, allocations: 2.719 kB / 1.126 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9497, allocations: 3.938 kB / 1.126 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.9497, allocations: 0 / 1.126 GB, free: 0.9805 MB / 0.6823 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.001501/0.9512, allocations: 0.5613 MB / 1.127 GB, free: 16.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.9513, allocations: 10.19 kB / 1.127 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.243e-05/0.9514, allocations: 49.55 kB / 1.127 GB, free: 16.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/0.9516, allocations: 47.64 kB / 1.127 GB, free: 16.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.952, allocations: 274.5 kB / 1.127 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.952, allocations: 14.3 kB / 1.127 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.172e-05/0.9521, allocations: 14.81 kB / 1.127 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005737/0.9527, allocations: 245.6 kB / 1.127 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.9527, allocations: 1.281 kB / 1.127 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.9527, allocations: 8.922 kB / 1.127 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.9528, allocations: 15.89 kB / 1.127 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000703/0.9535, allocations: 262.7 kB / 1.128 GB, free: 16.22 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.00143/0.9549, allocations: 0.8351 MB / 1.128 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.9553, allocations: 145.5 kB / 1.128 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.9555, allocations: 122.2 kB / 1.129 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000264/0.9558, allocations: 184.2 kB / 1.129 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.9558, allocations: 35.94 kB / 1.129 GB, free: 15.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.874e-06/0.9558, allocations: 4 kB / 1.129 GB, free: 15.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0008214/0.9567, allocations: 316.6 kB / 1.129 GB, free: 15.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.9567, allocations: 57.52 kB / 1.129 GB, free: 15.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.957, allocations: 242.2 kB / 1.129 GB, free: 15.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.957, allocations: 28.86 kB / 1.129 GB, free: 15.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.9571, allocations: 138.9 kB / 1.13 GB, free: 15.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.9572, allocations: 48.75 kB / 1.13 GB, free: 15.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/0.9572, allocations: 1 kB / 1.13 GB, free: 15.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.9573, allocations: 332.6 kB / 1.13 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.9576, allocations: 75.19 kB / 1.13 GB, free: 14.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.9578, allocations: 108.7 kB / 1.13 GB, free: 14.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.9581, allocations: 88.47 kB / 1.13 GB, free: 14.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9581, allocations: 2.656 kB / 1.13 GB, free: 14.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000465/0.9585, allocations: 221.5 kB / 1.13 GB, free: 14.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.9586, allocations: 5.75 kB / 1.13 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.9586, allocations: 4.062 kB / 1.13 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.9586, allocations: 1.844 kB / 1.13 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.9588, allocations: 32.14 kB / 1.13 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.9588, allocations: 3.156 kB / 1.13 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.959, allocations: 39.02 kB / 1.13 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.9591, allocations: 5.812 kB / 1.13 GB, free: 14.71 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.0001495/0.9592, allocations: 149.5 kB / 1.131 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.9593, allocations: 20.14 kB / 1.131 GB, free: 14.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.3e-05/0.9594, allocations: 29.06 kB / 1.131 GB, free: 14.58 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.9594, allocations: 3 kB / 1.131 GB, free: 14.58 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.9594, allocations: 0 / 1.131 GB, free: 14.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.9594, allocations: 2.484 kB / 1.131 GB, free: 14.58 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.9604, allocations: 0.6918 MB / 1.131 GB, free: 14.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.9604, allocations: 2.656 kB / 1.131 GB, free: 14.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.9606, allocations: 37.48 kB / 1.131 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.9606, allocations: 6.641 kB / 1.131 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.9606, allocations: 5.875 kB / 1.131 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.9606, allocations: 2.938 kB / 1.131 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.9606, allocations: 5.297 kB / 1.131 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000589/0.9612, allocations: 355.4 kB / 1.132 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.9614, allocations: 117.9 kB / 1.132 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.9614, allocations: 9.094 kB / 1.132 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.9616, allocations: 17.19 kB / 1.132 GB, free: 13.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.9617, allocations: 23.98 kB / 1.132 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.9617, allocations: 2.969 kB / 1.132 GB, free: 13.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001572/0.9619, allocations: 179.4 kB / 1.132 GB, free: 13.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9619, allocations: 0 / 1.132 GB, free: 13.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003728/0.9623, allocations: 66.48 kB / 1.132 GB, free: 13.77 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.001051/0.9633, allocations: 0.9372 MB / 1.133 GB, free: 13.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000477/0.9638, allocations: 179.7 kB / 1.133 GB, free: 13.03 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.9638, allocations: 4.125 kB / 1.133 GB, free: 13.03 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.9641, allocations: 100.6 kB / 1.133 GB, free: 13.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007807/0.9648, allocations: 127.1 kB / 1.133 GB, free: 13.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.9672, allocations: 1.359 MB / 1.135 GB, free: 12.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.9676, allocations: 0.7601 MB / 1.136 GB, free: 11.72 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002573/0.9678, allocations: 63.44 kB / 1.136 GB, free: 11.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.9679, allocations: 66.95 kB / 1.136 GB, free: 11.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/0.9679, allocations: 0 / 1.136 GB, free: 11.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.9885, allocations: 6.404 MB / 1.142 GB, free: 9.316 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.9887, allocations: 235 kB / 1.142 GB, free: 9.082 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.94, allocations: 2.812 kB / 1.142 GB, free: 9.082 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)