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.00133/0.00133, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 196.9 kB / 16.63 MB, free: 6.613 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.419/1.419, allocations: 222.9 MB / 240.3 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002083, allocations: 286.6 kB / 290.8 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9445/0.9445, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 87.86 kB / 0.6814 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1584, allocations: 86.98 MB / 0.7663 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5446/0.7031, allocations: 161.3 MB / 0.9238 GB, free: 1.512 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002322/0.7054, allocations: 0.9578 MB / 0.9248 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.7057, allocations: 8 kB / 0.9248 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000623/0.7063, allocations: 162.9 kB / 0.9249 GB, free: 396 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.7081, allocations: 0.638 MB / 0.9256 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006486/0.7087, allocations: 224.3 kB / 0.9258 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0005854/0.7093, allocations: 0.5224 MB / 0.9263 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003382/0.7097, allocations: 169.6 kB / 0.9265 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004407/0.7101, allocations: 235.1 kB / 0.9267 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.7104, allocations: 167.3 kB / 0.9268 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.032e-05/0.7104, allocations: 12 kB / 0.9269 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009324/0.7113, allocations: 0.5455 MB / 0.9274 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.7115, allocations: 75.8 kB / 0.9275 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.7116, allocations: 115.5 kB / 0.9276 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0008223/0.7124, allocations: 497.6 kB / 0.928 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7125, allocations: 0 / 0.928 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7125, allocations: 0 / 0.928 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.7125, allocations: 0 / 0.928 GB, free: 13.22 MB / 0.6856 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.001423/0.7139, allocations: 0.6006 MB / 0.9286 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.714, allocations: 8.031 kB / 0.9286 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002572/0.7142, allocations: 47.69 kB / 0.9287 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.7146, allocations: 294.9 kB / 0.929 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.7147, allocations: 8.328 kB / 0.929 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.7147, allocations: 20 kB / 0.929 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.7152, allocations: 251.7 kB / 0.9292 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.7152, allocations: 0 / 0.9292 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.7153, allocations: 4 kB / 0.9292 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.7153, allocations: 8 kB / 0.9292 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006134/0.7159, allocations: 247.8 kB / 0.9295 GB, free: 11.66 MB / 0.6856 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.001282/0.7172, allocations: 0.8393 MB / 0.9303 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.7175, allocations: 150.4 kB / 0.9304 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.7178, allocations: 114 kB / 0.9305 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002596/0.718, allocations: 182.2 kB / 0.9307 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.7181, allocations: 35.12 kB / 0.9308 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.7181, allocations: 4 kB / 0.9308 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14): time 0.0008268/0.7189, allocations: 301.2 kB / 0.931 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.719, allocations: 55.39 kB / 0.9311 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.7193, allocations: 237 kB / 0.9313 GB, free: 9.598 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.7194, allocations: 33.64 kB / 0.9314 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 9.05e-05/0.7195, allocations: 140.2 kB / 0.9315 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.7195, allocations: 47.3 kB / 0.9315 GB, free: 9.371 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.325e-05/0.7196, allocations: 41.58 kB / 0.9316 GB, free: 9.324 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.7197, allocations: 334.8 kB / 0.9319 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.7199, allocations: 67.94 kB / 0.932 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.7201, allocations: 98.52 kB / 0.9321 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.7205, allocations: 181 kB / 0.9322 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.7205, allocations: 3.438 kB / 0.9322 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004362/0.721, allocations: 209.2 kB / 0.9324 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.721, allocations: 12.06 kB / 0.9324 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.721, allocations: 3.938 kB / 0.9324 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.721, allocations: 0 / 0.9324 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.7212, allocations: 31.97 kB / 0.9325 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.7213, allocations: 0 / 0.9325 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.7214, allocations: 23.83 kB / 0.9325 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.7214, allocations: 8 kB / 0.9325 GB, free: 8.344 MB / 0.6856 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.000147/0.7216, allocations: 141.7 kB / 0.9326 GB, free: 8.195 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.7217, allocations: 27.72 kB / 0.9327 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.494e-05/0.7217, allocations: 33.77 kB / 0.9327 GB, free: 8.137 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.7217, allocations: 4 kB / 0.9327 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.7218, allocations: 0 / 0.9327 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.7218, allocations: 3.984 kB / 0.9327 GB, free: 8.129 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009714/0.7227, allocations: 0.6757 MB / 0.9334 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.7228, allocations: 3.984 kB / 0.9334 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.7229, allocations: 31.92 kB / 0.9334 GB, free: 7.34 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.7229, allocations: 4 kB / 0.9334 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.7229, allocations: 4 kB / 0.9334 GB, free: 7.332 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.723, allocations: 12.2 kB / 0.9334 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.723, allocations: 5.797 kB / 0.9334 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004774/0.7234, allocations: 353 kB / 0.9338 GB, free: 6.934 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.165e-05/0.7235, allocations: 108.9 kB / 0.9339 GB, free: 6.809 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.7236, allocations: 4 kB / 0.9339 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.7238, allocations: 15.98 kB / 0.9339 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.7238, allocations: 11.92 kB / 0.9339 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.7238, allocations: 15.94 kB / 0.9339 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001412/0.724, allocations: 180.4 kB / 0.9341 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.724, allocations: 0 / 0.9341 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003454/0.7243, allocations: 59.91 kB / 0.9341 GB, free: 6.531 MB / 0.6856 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.0003488/0.7247, allocations: 167.9 kB / 0.9343 GB, free: 6.375 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005294/0.7252, allocations: 175.8 kB / 0.9345 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7253, allocations: 0 / 0.9345 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.7255, allocations: 99.86 kB / 0.9346 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007107/0.7262, allocations: 115.4 kB / 0.9347 GB, free: 5.996 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007043/0.7269, allocations: 452.5 kB / 0.9351 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.7272, allocations: 0.7519 MB / 0.9358 GB, free: 4.727 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001732/0.7274, allocations: 61.91 kB / 0.9359 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.7275, allocations: 19.44 kB / 0.9359 GB, free: 4.648 MB / 0.6856 GB Notification: Performance of SimCode: time 3.31e-07/0.7275, allocations: 0 / 0.9359 GB, free: 4.648 MB / 0.6856 GB Notification: Performance of Templates: time 0.008314/0.7358, allocations: 4.431 MB / 0.9402 GB, free: 304 kB / 0.6856 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)