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.001538/0.001538, allocations: 113.8 kB / 16.41 MB, free: 6.484 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.001619/0.001619, allocations: 189.2 kB / 17.34 MB, free: 5.75 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.467/1.467, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00255/0.00255, allocations: 292.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.117/1.117, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002813/0.002813, allocations: 99.84 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4978/0.5006, allocations: 86.98 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2098/0.7104, allocations: 161.8 MB / 0.925 GB, free: 1.559 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.002197/0.7126, allocations: 0.9773 MB / 0.926 GB, free: 0.582 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.7128, allocations: 7.938 kB / 0.926 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000644/0.7135, allocations: 163 kB / 0.9261 GB, free: 424 kB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.7151, allocations: 0.6575 MB / 0.9268 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006834/0.7158, allocations: 232.2 kB / 0.927 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0007087/0.7165, allocations: 0.5188 MB / 0.9275 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003254/0.7168, allocations: 160.1 kB / 0.9276 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004666/0.7173, allocations: 231.1 kB / 0.9279 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.7175, allocations: 159.4 kB / 0.928 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.7176, allocations: 12 kB / 0.928 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009964/0.7186, allocations: 0.5416 MB / 0.9286 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.7187, allocations: 83.72 kB / 0.9286 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.7188, allocations: 123.3 kB / 0.9288 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0007947/0.7196, allocations: 496.3 kB / 0.9292 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.7196, allocations: 8 kB / 0.9292 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7196, allocations: 0 / 0.9292 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.7196, allocations: 0 / 0.9292 GB, free: 13.23 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.001591/0.7212, allocations: 0.6072 MB / 0.9298 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.7213, allocations: 8.031 kB / 0.9298 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002952/0.7216, allocations: 55.77 kB / 0.9299 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.7221, allocations: 291.8 kB / 0.9302 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.7221, allocations: 12.33 kB / 0.9302 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.7221, allocations: 16 kB / 0.9302 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000549/0.7227, allocations: 239.8 kB / 0.9304 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.7227, allocations: 4 kB / 0.9304 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.7227, allocations: 4 kB / 0.9304 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.7227, allocations: 12 kB / 0.9304 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005915/0.7233, allocations: 247.8 kB / 0.9307 GB, free: 11.66 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.001446/0.7248, allocations: 0.8433 MB / 0.9315 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.7252, allocations: 142.4 kB / 0.9316 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.7254, allocations: 104.8 kB / 0.9317 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003323/0.7257, allocations: 194.2 kB / 0.9319 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.7257, allocations: 34.56 kB / 0.932 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.7258, allocations: 0 / 0.932 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14): time 0.0009033/0.7267, allocations: 305.2 kB / 0.9322 GB, free: 9.91 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.7267, allocations: 51.41 kB / 0.9323 GB, free: 9.848 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.727, allocations: 249 kB / 0.9325 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.727, allocations: 25.7 kB / 0.9326 GB, free: 9.562 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.7271, allocations: 140.3 kB / 0.9327 GB, free: 9.422 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.7272, allocations: 43.58 kB / 0.9327 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.771e-05/0.7272, allocations: 41.7 kB / 0.9328 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.7274, allocations: 326.8 kB / 0.9331 GB, free: 9.004 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.7276, allocations: 67.94 kB / 0.9331 GB, free: 8.938 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.7278, allocations: 102.5 kB / 0.9332 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.7282, allocations: 168.2 kB / 0.9334 GB, free: 8.656 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.7282, allocations: 0 / 0.9334 GB, free: 8.656 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004978/0.7287, allocations: 217.4 kB / 0.9336 GB, free: 8.438 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.7287, allocations: 15.92 kB / 0.9336 GB, free: 8.422 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.7287, allocations: 0 / 0.9336 GB, free: 8.422 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.7288, allocations: 0 / 0.9336 GB, free: 8.422 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.729, allocations: 31.98 kB / 0.9337 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.729, allocations: 0 / 0.9337 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.7292, allocations: 23.81 kB / 0.9337 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.7292, allocations: 12 kB / 0.9337 GB, free: 8.355 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.000153/0.7293, allocations: 145.4 kB / 0.9338 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.7294, allocations: 27.8 kB / 0.9339 GB, free: 8.18 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.411e-05/0.7295, allocations: 33.83 kB / 0.9339 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.7295, allocations: 0 / 0.9339 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7295, allocations: 0 / 0.9339 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.7295, allocations: 0 / 0.9339 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.7307, allocations: 0.6796 MB / 0.9346 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.7307, allocations: 0 / 0.9346 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.7308, allocations: 36.08 kB / 0.9346 GB, free: 7.352 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.7308, allocations: 8 kB / 0.9346 GB, free: 7.344 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.7308, allocations: 7.984 kB / 0.9346 GB, free: 7.336 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.7308, allocations: 80 / 0.9346 GB, free: 7.336 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.7309, allocations: 7.984 kB / 0.9346 GB, free: 7.328 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005527/0.7314, allocations: 355.9 kB / 0.935 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.7315, allocations: 113 kB / 0.9351 GB, free: 6.816 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.7316, allocations: 11.98 kB / 0.9351 GB, free: 6.805 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.7317, allocations: 8 kB / 0.9351 GB, free: 6.797 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.568e-05/0.7318, allocations: 27.8 kB / 0.9351 GB, free: 6.77 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.7318, allocations: 8 kB / 0.9351 GB, free: 6.762 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001811/0.732, allocations: 180.5 kB / 0.9353 GB, free: 6.59 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.732, allocations: 0 / 0.9353 GB, free: 6.59 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003742/0.7324, allocations: 55.94 kB / 0.9353 GB, free: 6.535 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.0004327/0.7328, allocations: 157.2 kB / 0.9355 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005012/0.7333, allocations: 179.8 kB / 0.9357 GB, free: 6.203 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7333, allocations: 0 / 0.9357 GB, free: 6.203 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.7335, allocations: 91.81 kB / 0.9357 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007649/0.7343, allocations: 124.3 kB / 0.9359 GB, free: 5.996 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008332/0.7351, allocations: 459.5 kB / 0.9363 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.7356, allocations: 0.748 MB / 0.937 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001961/0.7358, allocations: 61.91 kB / 0.9371 GB, free: 4.668 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/0.7358, allocations: 19.44 kB / 0.9371 GB, free: 4.648 MB / 0.7012 GB Notification: Performance of SimCode: time 7.41e-07/0.7358, allocations: 4 kB / 0.9371 GB, free: 4.645 MB / 0.7012 GB Notification: Performance of Templates: time 0.009793/0.7456, allocations: 4.47 MB / 0.9415 GB, free: 252 kB / 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)