Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.484/1.484, allocations: 287.4 MB / 302.6 MB, free: 8.293 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.0009414/0.0009416, allocations: 178.9 kB / 371.1 MB, free: 10.82 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.25/1.25, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0009474/0.0009474, allocations: 90.34 kB / 0.7431 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.0003561, allocations: 19.25 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1654, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5253/0.6908, allocations: 146.5 MB / 1.122 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.6923, allocations: 0.8988 MB / 1.123 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.6925, allocations: 8.281 kB / 1.123 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003954/0.6929, allocations: 110.3 kB / 1.123 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.694, allocations: 463.5 kB / 1.123 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.6945, allocations: 180.2 kB / 1.123 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006022/0.6951, allocations: 0.6208 MB / 1.124 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.6954, allocations: 147.1 kB / 1.124 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003206/0.6957, allocations: 213.9 kB / 1.124 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.6959, allocations: 158.5 kB / 1.124 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.6959, allocations: 8.719 kB / 1.124 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005541/0.6965, allocations: 290.9 kB / 1.125 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 8.483e-05/0.6966, allocations: 76.25 kB / 1.125 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.484e-05/0.6967, allocations: 69.36 kB / 1.125 GB, free: 16.78 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003741/0.6971, allocations: 297.1 kB / 1.125 GB, free: 16.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6971, allocations: 0.7031 kB / 1.125 GB, free: 16.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6971, allocations: 0 / 1.125 GB, free: 16.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.6971, allocations: 4 kB / 1.125 GB, free: 16.75 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.001096/0.6982, allocations: 0.5574 MB / 1.126 GB, free: 16.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.6982, allocations: 8.062 kB / 1.126 GB, free: 16.31 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.293e-05/0.6983, allocations: 49.64 kB / 1.126 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.6985, allocations: 49.91 kB / 1.126 GB, free: 16.26 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.6988, allocations: 283.3 kB / 1.126 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.6988, allocations: 13.33 kB / 1.126 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.6989, allocations: 17.62 kB / 1.126 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.6993, allocations: 243.8 kB / 1.126 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.6993, allocations: 1.859 kB / 1.126 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.6993, allocations: 9.188 kB / 1.126 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.6994, allocations: 16.42 kB / 1.126 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005063/0.6999, allocations: 266.6 kB / 1.127 GB, free: 15.98 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.000987/0.7009, allocations: 0.8291 MB / 1.127 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.7011, allocations: 154.9 kB / 1.128 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.7013, allocations: 113.9 kB / 1.128 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002256/0.7016, allocations: 186.5 kB / 1.128 GB, free: 15.31 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.7016, allocations: 40.06 kB / 1.128 GB, free: 15.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.7016, allocations: 0 / 1.128 GB, free: 15.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0006872/0.7023, allocations: 319.8 kB / 1.128 GB, free: 15.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.7023, allocations: 56.72 kB / 1.128 GB, free: 15.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.7025, allocations: 239.2 kB / 1.129 GB, free: 15.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.7025, allocations: 30.41 kB / 1.129 GB, free: 15.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.7026, allocations: 135.3 kB / 1.129 GB, free: 14.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.7027, allocations: 44.31 kB / 1.129 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.7027, allocations: 3.25 kB / 1.129 GB, free: 14.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.7028, allocations: 336.9 kB / 1.129 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.7029, allocations: 72.53 kB / 1.129 GB, free: 14.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.7031, allocations: 106.1 kB / 1.129 GB, free: 14.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.7034, allocations: 184.7 kB / 1.129 GB, free: 14.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7034, allocations: 0 / 1.129 GB, free: 14.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000381/0.7038, allocations: 227.5 kB / 1.13 GB, free: 14.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.7038, allocations: 9.219 kB / 1.13 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.7038, allocations: 3.219 kB / 1.13 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.7038, allocations: 3.938 kB / 1.13 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.704, allocations: 42.69 kB / 1.13 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.704, allocations: 4.469 kB / 1.13 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.7042, allocations: 23.45 kB / 1.13 GB, free: 14.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.7042, allocations: 7.25 kB / 1.13 GB, free: 14.44 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.0001099/0.7043, allocations: 141.4 kB / 1.13 GB, free: 14.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/0.7044, allocations: 26.59 kB / 1.13 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.756e-05/0.7044, allocations: 38.34 kB / 1.13 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.7044, allocations: 0 / 1.13 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.7045, allocations: 2.094 kB / 1.13 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.7045, allocations: 0 / 1.13 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008617/0.7053, allocations: 0.6876 MB / 1.131 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.7053, allocations: 5.156 kB / 1.131 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.7055, allocations: 29.61 kB / 1.131 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.7055, allocations: 6.719 kB / 1.131 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.7055, allocations: 5.359 kB / 1.131 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.7055, allocations: 3.797 kB / 1.131 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.7055, allocations: 5.625 kB / 1.131 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.706, allocations: 366.3 kB / 1.131 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.519e-05/0.7061, allocations: 112.9 kB / 1.131 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.496e-05/0.7061, allocations: 8.328 kB / 1.131 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.7063, allocations: 19.2 kB / 1.131 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.7063, allocations: 14.61 kB / 1.131 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.7063, allocations: 9.031 kB / 1.131 GB, free: 13.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001247/0.7065, allocations: 174.8 kB / 1.131 GB, free: 13.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7065, allocations: 4 kB / 1.131 GB, free: 13.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002906/0.7068, allocations: 64 kB / 1.131 GB, free: 13.51 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.0008664/0.7076, allocations: 0.9417 MB / 1.132 GB, free: 12.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004171/0.7081, allocations: 191.5 kB / 1.132 GB, free: 12.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7081, allocations: 2.953 kB / 1.132 GB, free: 12.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.7083, allocations: 108.1 kB / 1.133 GB, free: 12.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006916/0.709, allocations: 118.6 kB / 1.133 GB, free: 12.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.7107, allocations: 1.359 MB / 1.134 GB, free: 12.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.711, allocations: 0.7582 MB / 1.135 GB, free: 11.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002237/0.7112, allocations: 60.53 kB / 1.135 GB, free: 11.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.7114, allocations: 60.95 kB / 1.135 GB, free: 11.43 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.7114, allocations: 2.688 kB / 1.135 GB, free: 11.43 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.46/1.171, allocations: 6.399 MB / 1.141 GB, free: 9.762 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/1.172, allocations: 231.2 kB / 1.141 GB, free: 9.527 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/2.992, allocations: 0 / 1.141 GB, free: 9.527 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)