Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00207/0.00207, allocations: 194.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.614/1.614, allocations: 251.7 MB / 0.5089 GB, free: 3.219 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 68.38 kB / 0.6217 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.664/0.6654, allocations: 104.7 MB / 0.724 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2054/0.8708, allocations: 159.3 MB / 0.8795 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003054/0.8739, allocations: 0.9938 MB / 0.8805 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006184/0.8746, allocations: 11.94 kB / 0.8805 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0008028/0.8754, allocations: 139.3 kB / 0.8806 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002061/0.8775, allocations: 0.5915 MB / 0.8812 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.000713/0.8783, allocations: 205.4 kB / 0.8814 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0006913/0.879, allocations: 0.5031 MB / 0.8819 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003276/0.8793, allocations: 162 kB / 0.882 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005059/0.8798, allocations: 243.1 kB / 0.8823 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.8801, allocations: 175.3 kB / 0.8824 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/0.8801, allocations: 16 kB / 0.8825 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000991/0.8811, allocations: 0.5532 MB / 0.883 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.8812, allocations: 79.78 kB / 0.8831 GB, free: 9.504 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.8813, allocations: 119.4 kB / 0.8832 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0007124/0.8821, allocations: 0.518 MB / 0.8837 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.8821, allocations: 7.938 kB / 0.8837 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8821, allocations: 0 / 0.8837 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.8821, allocations: 0 / 0.8837 GB, free: 8.859 MB / 0.7012 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.001442/0.8835, allocations: 0.6039 MB / 0.8843 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.8836, allocations: 8.031 kB / 0.8843 GB, free: 8.199 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/0.8839, allocations: 51.59 kB / 0.8843 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.8842, allocations: 270.4 kB / 0.8846 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.8842, allocations: 12.33 kB / 0.8846 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.8843, allocations: 16 kB / 0.8846 GB, free: 7.816 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004889/0.8848, allocations: 242.9 kB / 0.8849 GB, free: 7.574 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.8848, allocations: 4 kB / 0.8849 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.8848, allocations: 8 kB / 0.8849 GB, free: 7.562 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.696e-05/0.8849, allocations: 19.97 kB / 0.8849 GB, free: 7.543 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006282/0.8855, allocations: 247.8 kB / 0.8851 GB, free: 7.301 MB / 0.7012 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.001184/0.8867, allocations: 0.8315 MB / 0.8859 GB, free: 6.395 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.887, allocations: 146.5 kB / 0.8861 GB, free: 6.242 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.8872, allocations: 112.8 kB / 0.8862 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000297/0.8875, allocations: 194.2 kB / 0.8864 GB, free: 5.902 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.8876, allocations: 30.56 kB / 0.8864 GB, free: 5.863 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.8876, allocations: 0 / 0.8864 GB, free: 5.863 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14): time 0.0008284/0.8884, allocations: 310.8 kB / 0.8867 GB, free: 5.555 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.8885, allocations: 51.41 kB / 0.8867 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.8887, allocations: 245 kB / 0.887 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.8887, allocations: 25.7 kB / 0.887 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 9.574e-05/0.8888, allocations: 136.3 kB / 0.8871 GB, free: 5.078 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.8889, allocations: 47.27 kB / 0.8872 GB, free: 5.031 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.889, allocations: 37.7 kB / 0.8872 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.8891, allocations: 334.8 kB / 0.8875 GB, free: 4.652 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.8893, allocations: 63.94 kB / 0.8876 GB, free: 4.59 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.8895, allocations: 110.4 kB / 0.8877 GB, free: 4.473 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.8898, allocations: 167.9 kB / 0.8879 GB, free: 4.301 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8898, allocations: 0 / 0.8879 GB, free: 4.301 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004217/0.8903, allocations: 213.3 kB / 0.8881 GB, free: 4.086 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.8903, allocations: 11.94 kB / 0.8881 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.8903, allocations: 8 kB / 0.8881 GB, free: 4.066 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.8903, allocations: 0 / 0.8881 GB, free: 4.066 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.8905, allocations: 31.98 kB / 0.8881 GB, free: 4.035 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.8905, allocations: 3.984 kB / 0.8881 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.8907, allocations: 27.77 kB / 0.8881 GB, free: 4.004 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.8907, allocations: 8 kB / 0.8882 GB, free: 3.996 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.8909, allocations: 141.8 kB / 0.8883 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.8909, allocations: 27.66 kB / 0.8883 GB, free: 3.82 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.359e-05/0.891, allocations: 33.83 kB / 0.8883 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.891, allocations: 0 / 0.8883 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.891, allocations: 0 / 0.8883 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.891, allocations: 0 / 0.8883 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.8921, allocations: 0.6756 MB / 0.889 GB, free: 3.039 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.8921, allocations: 4 kB / 0.889 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.8922, allocations: 31.95 kB / 0.889 GB, free: 3.004 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.8922, allocations: 7.984 kB / 0.8891 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.8923, allocations: 4 kB / 0.8891 GB, free: 2.992 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.8923, allocations: 4.219 kB / 0.8891 GB, free: 2.988 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.8923, allocations: 4 kB / 0.8891 GB, free: 2.984 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/0.8928, allocations: 352 kB / 0.8894 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.8929, allocations: 120.7 kB / 0.8895 GB, free: 2.469 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.8929, allocations: 8 kB / 0.8895 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.8931, allocations: 7.984 kB / 0.8895 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.8932, allocations: 23.92 kB / 0.8896 GB, free: 2.43 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.8932, allocations: 8 kB / 0.8896 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001916/0.8934, allocations: 180.5 kB / 0.8897 GB, free: 2.246 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8934, allocations: 0 / 0.8897 GB, free: 2.246 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003945/0.8938, allocations: 59.91 kB / 0.8898 GB, free: 2.188 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004433/0.8942, allocations: 160.5 kB / 0.8899 GB, free: 2.023 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005745/0.8948, allocations: 179.8 kB / 0.8901 GB, free: 1.848 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.8948, allocations: 0 / 0.8901 GB, free: 1.848 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003578/0.8952, allocations: 91.88 kB / 0.8902 GB, free: 1.758 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008454/0.8961, allocations: 120.9 kB / 0.8903 GB, free: 1.641 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009165/0.897, allocations: 0.5063 MB / 0.8908 GB, free: 1.09 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.8974, allocations: 0.7518 MB / 0.8915 GB, free: 320 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002535/0.8977, allocations: 65.89 kB / 0.8916 GB, free: 256 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.8978, allocations: 19.44 kB / 0.8916 GB, free: 236 kB / 0.7012 GB Notification: Performance of SimCode: time 2.1e-07/0.8978, allocations: 0 / 0.8916 GB, free: 236 kB / 0.7012 GB Notification: Performance of Templates: time 0.01083/0.9086, allocations: 4.357 MB / 0.8959 GB, free: 11.95 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)