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.001302/0.001302, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001109/0.001109, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002105/0.002105, allocations: 292.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.965/0.965, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 99.83 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.428, allocations: 86.97 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.176/0.604, allocations: 161.3 MB / 0.9246 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.002337/0.6064, allocations: 0.9586 MB / 0.9255 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004754/0.6069, allocations: 11.94 kB / 0.9255 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000743/0.6077, allocations: 159 kB / 0.9257 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.6098, allocations: 0.6302 MB / 0.9263 GB, free: 224 kB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007577/0.6106, allocations: 222.3 kB / 0.9265 GB, free: 4 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0007671/0.6114, allocations: 0.5188 MB / 0.927 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003551/0.6117, allocations: 180.1 kB / 0.9272 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004774/0.6122, allocations: 235.1 kB / 0.9274 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.6125, allocations: 159.4 kB / 0.9276 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.6125, allocations: 16 kB / 0.9276 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009694/0.6135, allocations: 0.5377 MB / 0.9281 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.6136, allocations: 79.78 kB / 0.9282 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.6137, allocations: 119.3 kB / 0.9283 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0008472/0.6146, allocations: 0.4895 MB / 0.9288 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6146, allocations: 3.938 kB / 0.9288 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6146, allocations: 0 / 0.9288 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.6146, allocations: 0 / 0.9288 GB, free: 13.68 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.001444/0.6161, allocations: 0.5999 MB / 0.9294 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.6161, allocations: 12.03 kB / 0.9294 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002775/0.6164, allocations: 51.67 kB / 0.9294 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.6169, allocations: 287.5 kB / 0.9297 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.6169, allocations: 20.33 kB / 0.9297 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.617, allocations: 16 kB / 0.9297 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000502/0.6175, allocations: 235.8 kB / 0.93 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.6175, allocations: 4 kB / 0.93 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.6175, allocations: 4 kB / 0.93 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.6176, allocations: 8 kB / 0.93 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005574/0.6181, allocations: 255.8 kB / 0.9302 GB, free: 12.11 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.001287/0.6194, allocations: 0.8392 MB / 0.931 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.6197, allocations: 146.5 kB / 0.9312 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.62, allocations: 108.9 kB / 0.9313 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000274/0.6203, allocations: 190.2 kB / 0.9315 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.6203, allocations: 34.56 kB / 0.9315 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.6203, allocations: 4 kB / 0.9315 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14): time 0.0008625/0.6212, allocations: 306.9 kB / 0.9318 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.6212, allocations: 51.41 kB / 0.9318 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.6215, allocations: 245 kB / 0.9321 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.6215, allocations: 25.7 kB / 0.9321 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.6216, allocations: 140.2 kB / 0.9322 GB, free: 9.875 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.6217, allocations: 51.3 kB / 0.9323 GB, free: 9.824 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.6217, allocations: 33.7 kB / 0.9323 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.6219, allocations: 326.8 kB / 0.9326 GB, free: 9.457 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.6221, allocations: 71.94 kB / 0.9327 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.6223, allocations: 98.52 kB / 0.9328 GB, free: 9.281 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.6226, allocations: 170.4 kB / 0.9329 GB, free: 9.105 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6226, allocations: 4 kB / 0.933 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004441/0.6231, allocations: 211.9 kB / 0.9332 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.6231, allocations: 12 kB / 0.9332 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6231, allocations: 3.984 kB / 0.9332 GB, free: 8.875 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.6232, allocations: 4 kB / 0.9332 GB, free: 8.871 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.6234, allocations: 27.92 kB / 0.9332 GB, free: 8.844 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.6234, allocations: 7.938 kB / 0.9332 GB, free: 8.836 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.6235, allocations: 27.77 kB / 0.9332 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.6236, allocations: 4 kB / 0.9332 GB, free: 8.805 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.0001433/0.6237, allocations: 149.1 kB / 0.9334 GB, free: 8.652 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.6238, allocations: 23.75 kB / 0.9334 GB, free: 8.629 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.528e-05/0.6239, allocations: 29.83 kB / 0.9334 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.6239, allocations: 0 / 0.9334 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6239, allocations: 0 / 0.9334 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.6239, allocations: 0 / 0.9334 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.6249, allocations: 0.6795 MB / 0.9341 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6249, allocations: 7.938 kB / 0.9341 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.6251, allocations: 23.98 kB / 0.9341 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.6251, allocations: 4 kB / 0.9341 GB, free: 7.805 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.6252, allocations: 11.98 kB / 0.9341 GB, free: 7.793 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6252, allocations: 224 / 0.9341 GB, free: 7.793 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.6252, allocations: 11.94 kB / 0.9342 GB, free: 7.781 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004894/0.6257, allocations: 349.1 kB / 0.9345 GB, free: 7.402 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.6258, allocations: 112.9 kB / 0.9346 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.6258, allocations: 11.98 kB / 0.9346 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.626, allocations: 8 kB / 0.9346 GB, free: 7.254 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.6261, allocations: 15.86 kB / 0.9346 GB, free: 7.238 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.6261, allocations: 16 kB / 0.9346 GB, free: 7.223 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001593/0.6262, allocations: 176.5 kB / 0.9348 GB, free: 7.055 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6263, allocations: 0 / 0.9348 GB, free: 7.055 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003478/0.6266, allocations: 63.84 kB / 0.9349 GB, free: 6.992 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.0003989/0.627, allocations: 162.4 kB / 0.935 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004709/0.6275, allocations: 179.8 kB / 0.9352 GB, free: 6.656 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6275, allocations: 4 kB / 0.9352 GB, free: 6.652 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.6277, allocations: 91.81 kB / 0.9353 GB, free: 6.562 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000785/0.6285, allocations: 124.8 kB / 0.9354 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008412/0.6294, allocations: 477.7 kB / 0.9359 GB, free: 5.922 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.6298, allocations: 0.7519 MB / 0.9366 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.329e-05/0.6299, allocations: 19.44 kB / 0.9366 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of SimCode: time 3.01e-07/0.6299, allocations: 0 / 0.9366 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of Templates: time 0.007181/0.637, allocations: 3.717 MB / 0.9402 GB, free: 1.445 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)