Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009114/0.0009113, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.007807/0.007807, allocations: 171.7 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.874/2.874, allocations: 473.4 MB / 0.7469 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005737/0.0005736, allocations: 9.125 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3454, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1742/0.5197, allocations: 157 MB / 1.227 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001975/0.5217, allocations: 0.9653 MB / 1.228 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.5219, allocations: 7.938 kB / 1.228 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005344/0.5224, allocations: 127.3 kB / 1.229 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.524, allocations: 0.5993 MB / 1.229 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005229/0.5245, allocations: 202.9 kB / 1.229 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007652/0.5253, allocations: 0.7371 MB / 1.23 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003111/0.5256, allocations: 156.2 kB / 1.23 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003998/0.526, allocations: 215.1 kB / 1.23 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.5262, allocations: 163.3 kB / 1.231 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.5263, allocations: 8 kB / 1.231 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009538/0.5272, allocations: 0.6389 MB / 1.231 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.553e-05/0.5273, allocations: 71.8 kB / 1.231 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.5275, allocations: 137.1 kB / 1.231 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006877/0.5282, allocations: 0.5063 MB / 1.232 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5282, allocations: 0 / 1.232 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5282, allocations: 0 / 1.232 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.5282, allocations: 0 / 1.232 GB, free: 5.375 MB / 0.9825 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.001373/0.5296, allocations: 0.5572 MB / 1.232 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.5296, allocations: 11.97 kB / 1.232 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002641/0.5299, allocations: 51.67 kB / 1.232 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.5302, allocations: 276.2 kB / 1.233 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.5303, allocations: 16.33 kB / 1.233 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.5303, allocations: 16 kB / 1.233 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/0.5309, allocations: 247.1 kB / 1.233 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.5309, allocations: 0 / 1.233 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.5309, allocations: 8 kB / 1.233 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.5309, allocations: 15.92 kB / 1.233 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006436/0.5316, allocations: 263.8 kB / 1.233 GB, free: 3.84 MB / 0.9825 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.001256/0.5329, allocations: 0.8353 MB / 1.234 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.5332, allocations: 158.4 kB / 1.234 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.5334, allocations: 116.9 kB / 1.234 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003064/0.5337, allocations: 182.2 kB / 1.235 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.5338, allocations: 38.56 kB / 1.235 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.5338, allocations: 0 / 1.235 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0008502/0.5346, allocations: 324.4 kB / 1.235 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.5347, allocations: 51.41 kB / 1.235 GB, free: 2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.5349, allocations: 241 kB / 1.235 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.535, allocations: 29.7 kB / 1.235 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.511e-05/0.5351, allocations: 140.2 kB / 1.235 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.5351, allocations: 47.3 kB / 1.235 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.5352, allocations: 21.7 kB / 1.235 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5353, allocations: 330.8 kB / 1.236 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.5355, allocations: 79.94 kB / 1.236 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.5357, allocations: 106.5 kB / 1.236 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.5361, allocations: 182.4 kB / 1.236 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5361, allocations: 0 / 1.236 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000461/0.5366, allocations: 229.2 kB / 1.236 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.5366, allocations: 7.938 kB / 1.236 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.5366, allocations: 0 / 1.236 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.5366, allocations: 0 / 1.236 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.5368, allocations: 35.98 kB / 1.236 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.5369, allocations: 0 / 1.236 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.537, allocations: 31.83 kB / 1.236 GB, free: 500 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.5371, allocations: 11.98 kB / 1.236 GB, free: 488 kB / 0.9825 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.0001339/0.5372, allocations: 137.8 kB / 1.236 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.5373, allocations: 27.66 kB / 1.237 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.705e-05/0.5374, allocations: 37.7 kB / 1.237 GB, free: 280 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.5374, allocations: 4 kB / 1.237 GB, free: 276 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.5374, allocations: 0 / 1.237 GB, free: 276 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5374, allocations: 4 kB / 1.237 GB, free: 272 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.5385, allocations: 0.6835 MB / 1.237 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.5385, allocations: 4 kB / 1.237 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.5387, allocations: 35.91 kB / 1.237 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/0.5387, allocations: 8.031 kB / 1.237 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.5387, allocations: 224 / 1.237 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.5387, allocations: 8 kB / 1.237 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5387, allocations: 4 kB / 1.237 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004954/0.5392, allocations: 364 kB / 1.238 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.5393, allocations: 120.7 kB / 1.238 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.5394, allocations: 8 kB / 1.238 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.5395, allocations: 15.98 kB / 1.238 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.5396, allocations: 19.86 kB / 1.238 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.5396, allocations: 12 kB / 1.238 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001629/0.5398, allocations: 180.5 kB / 1.238 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5398, allocations: 0 / 1.238 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003518/0.5402, allocations: 56 kB / 1.238 GB, free: 14.63 MB / 0.9981 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.0004039/0.5406, allocations: 147.5 kB / 1.238 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004677/0.5411, allocations: 179.8 kB / 1.238 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5411, allocations: 4 kB / 1.238 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.5413, allocations: 96 kB / 1.238 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008543/0.5422, allocations: 124.6 kB / 1.239 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008078/0.543, allocations: 0.5176 MB / 1.239 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.5433, allocations: 0.756 MB / 1.24 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002202/0.5436, allocations: 61.89 kB / 1.24 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.5436, allocations: 23.42 kB / 1.24 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.5437, allocations: 0 / 1.24 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of Templates: time 0.008788/0.5525, allocations: 4.189 MB / 1.244 GB, free: 8.543 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)