Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001137/0.001137, allocations: 109 kB / 16.41 MB, free: 6.5 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.001103/0.001103, allocations: 187 kB / 17.34 MB, free: 5.742 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0022/0.0022, allocations: 301.2 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9461/0.9461, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001855, allocations: 87.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5332/0.5351, allocations: 86.98 MB / 0.767 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1865/0.7217, allocations: 161.3 MB / 0.9246 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.002025/0.7237, allocations: 0.9575 MB / 0.9255 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.724, allocations: 11.94 kB / 0.9255 GB, free: 1.16 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005939/0.7246, allocations: 159 kB / 0.9257 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.7262, allocations: 0.6341 MB / 0.9263 GB, free: 376 kB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006172/0.7268, allocations: 227.2 kB / 0.9265 GB, free: 152 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0006578/0.7275, allocations: 0.5188 MB / 0.927 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003439/0.7278, allocations: 176.1 kB / 0.9272 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004156/0.7283, allocations: 239.1 kB / 0.9274 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.7285, allocations: 159.4 kB / 0.9276 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.7285, allocations: 16 kB / 0.9276 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008575/0.7294, allocations: 0.5416 MB / 0.9281 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.7295, allocations: 83.72 kB / 0.9282 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.7296, allocations: 111.5 kB / 0.9283 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0007234/0.7304, allocations: 0.4894 MB / 0.9288 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7304, allocations: 0 / 0.9288 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7304, allocations: 0 / 0.9288 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.7304, allocations: 0 / 0.9288 GB, free: 13.83 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.00147/0.7319, allocations: 0.5999 MB / 0.9294 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.7319, allocations: 12.03 kB / 0.9294 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002577/0.7322, allocations: 47.69 kB / 0.9294 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/0.7327, allocations: 295.5 kB / 0.9297 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.7327, allocations: 12.33 kB / 0.9297 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.7328, allocations: 24 kB / 0.9297 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.7332, allocations: 239.8 kB / 0.93 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.7333, allocations: 0 / 0.93 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.7333, allocations: 4 kB / 0.93 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.7333, allocations: 8 kB / 0.93 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005341/0.7339, allocations: 251.8 kB / 0.9302 GB, free: 12.26 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.001236/0.7351, allocations: 0.8393 MB / 0.931 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.7354, allocations: 138.5 kB / 0.9312 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.7357, allocations: 120.8 kB / 0.9313 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/0.7359, allocations: 182.1 kB / 0.9314 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.736, allocations: 42.55 kB / 0.9315 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.736, allocations: 0 / 0.9315 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14): time 0.0008056/0.7368, allocations: 303.2 kB / 0.9318 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.7368, allocations: 55.41 kB / 0.9318 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.7371, allocations: 237 kB / 0.9321 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.7371, allocations: 33.7 kB / 0.9321 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 8.919e-05/0.7372, allocations: 128.2 kB / 0.9322 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.7372, allocations: 55.28 kB / 0.9323 GB, free: 9.98 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.065e-05/0.7373, allocations: 37.7 kB / 0.9323 GB, free: 9.938 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.7375, allocations: 330.8 kB / 0.9326 GB, free: 9.605 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.7376, allocations: 71.94 kB / 0.9327 GB, free: 9.535 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.7379, allocations: 102.5 kB / 0.9328 GB, free: 9.426 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.7382, allocations: 170.5 kB / 0.9329 GB, free: 9.25 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7382, allocations: 4 kB / 0.9329 GB, free: 9.246 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004323/0.7387, allocations: 211.2 kB / 0.9332 GB, free: 9.035 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.7387, allocations: 7.938 kB / 0.9332 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.7387, allocations: 0 / 0.9332 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.7387, allocations: 12 kB / 0.9332 GB, free: 9.016 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.7389, allocations: 31.91 kB / 0.9332 GB, free: 8.984 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.7389, allocations: 4 kB / 0.9332 GB, free: 8.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.7391, allocations: 23.83 kB / 0.9332 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.7391, allocations: 4 kB / 0.9332 GB, free: 8.953 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.0001289/0.7393, allocations: 144.2 kB / 0.9334 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.7393, allocations: 19.75 kB / 0.9334 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.309e-05/0.7394, allocations: 37.78 kB / 0.9334 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.7394, allocations: 0 / 0.9334 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.7394, allocations: 3.984 kB / 0.9334 GB, free: 8.742 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.7394, allocations: 4 kB / 0.9334 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.7405, allocations: 0.6756 MB / 0.9341 GB, free: 7.984 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.7405, allocations: 4 kB / 0.9341 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.7406, allocations: 23.98 kB / 0.9341 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.7406, allocations: 4 kB / 0.9341 GB, free: 7.953 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.7407, allocations: 15.92 kB / 0.9341 GB, free: 7.938 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.7407, allocations: 0 / 0.9341 GB, free: 7.938 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.7407, allocations: 8.219 kB / 0.9341 GB, free: 7.93 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004817/0.7412, allocations: 357 kB / 0.9345 GB, free: 7.543 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.7413, allocations: 112.9 kB / 0.9346 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.7413, allocations: 7.984 kB / 0.9346 GB, free: 7.406 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.7415, allocations: 8 kB / 0.9346 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.7416, allocations: 19.86 kB / 0.9346 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.7416, allocations: 4 kB / 0.9346 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001488/0.7417, allocations: 184.5 kB / 0.9348 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7418, allocations: 0 / 0.9348 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003483/0.7421, allocations: 59.84 kB / 0.9349 GB, free: 7.141 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.0003554/0.7425, allocations: 170.4 kB / 0.935 GB, free: 6.973 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004477/0.7429, allocations: 167.8 kB / 0.9352 GB, free: 6.809 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.7429, allocations: 128 / 0.9352 GB, free: 6.809 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.7432, allocations: 103.8 kB / 0.9353 GB, free: 6.707 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007349/0.7439, allocations: 120.7 kB / 0.9354 GB, free: 6.594 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007243/0.7446, allocations: 473.7 kB / 0.9359 GB, free: 6.078 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.745, allocations: 0.7596 MB / 0.9366 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.85e-05/0.745, allocations: 23.44 kB / 0.9366 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of SimCode: time 5.31e-07/0.745, allocations: 0 / 0.9366 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of Templates: time 0.005603/0.7507, allocations: 3.737 MB / 0.9403 GB, free: 1.57 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)