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.001039/0.001039, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001218/0.001218, allocations: 191.2 kB / 16.25 MB, free: 6.629 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.372/1.372, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002291/0.002291, allocations: 282.9 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9967/0.9967, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 91.14 kB / 0.5947 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.17, allocations: 86.98 MB / 0.6796 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5228/0.6929, allocations: 159.1 MB / 0.835 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00286/0.6958, allocations: 0.959 MB / 0.8359 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003508/0.6962, allocations: 8.5 kB / 0.8359 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007132/0.697, allocations: 141.9 kB / 0.8361 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.6989, allocations: 0.6004 MB / 0.8367 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006831/0.6996, allocations: 200.2 kB / 0.8369 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007982/0.7004, allocations: 0.5215 MB / 0.8374 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000401/0.7009, allocations: 172.5 kB / 0.8375 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004907/0.7014, allocations: 244.2 kB / 0.8378 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.7016, allocations: 164.3 kB / 0.8379 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.7017, allocations: 14.16 kB / 0.8379 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.7027, allocations: 0.5603 MB / 0.8385 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.7028, allocations: 85.83 kB / 0.8386 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.703, allocations: 113.2 kB / 0.8387 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008253/0.7038, allocations: 0.5238 MB / 0.8392 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.7038, allocations: 0 / 0.8392 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7038, allocations: 0 / 0.8392 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.7038, allocations: 4 kB / 0.8392 GB, free: 15.22 MB / 0.5762 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.001641/0.7055, allocations: 0.5891 MB / 0.8398 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.7055, allocations: 9.75 kB / 0.8398 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.7058, allocations: 49.5 kB / 0.8398 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.7062, allocations: 284.2 kB / 0.8401 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.7062, allocations: 14.27 kB / 0.8401 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.7063, allocations: 14.19 kB / 0.8401 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005591/0.7069, allocations: 251.2 kB / 0.8404 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.7069, allocations: 0 / 0.8404 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.7069, allocations: 4.438 kB / 0.8404 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.222e-05/0.707, allocations: 10.44 kB / 0.8404 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007159/0.7077, allocations: 258.5 kB / 0.8406 GB, free: 14.5 MB / 0.5762 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.001451/0.7091, allocations: 0.8429 MB / 0.8414 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.7095, allocations: 142.4 kB / 0.8416 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.7097, allocations: 113.9 kB / 0.8417 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003008/0.71, allocations: 188.1 kB / 0.8419 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.7101, allocations: 39.56 kB / 0.8419 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.7101, allocations: 0 / 0.8419 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0008617/0.7109, allocations: 299.3 kB / 0.8422 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.711, allocations: 52.78 kB / 0.8422 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.7113, allocations: 241.1 kB / 0.8425 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.7114, allocations: 30.39 kB / 0.8425 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.7115, allocations: 133.6 kB / 0.8426 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.16e-05/0.7116, allocations: 52.34 kB / 0.8427 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.617e-05/0.7116, allocations: 38.27 kB / 0.8427 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.7118, allocations: 334.6 kB / 0.843 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.712, allocations: 69.67 kB / 0.8431 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.7123, allocations: 102.7 kB / 0.8432 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.7127, allocations: 171.8 kB / 0.8434 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.7127, allocations: 1.281 kB / 0.8434 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004837/0.7132, allocations: 205 kB / 0.8436 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.7132, allocations: 8.594 kB / 0.8436 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.7132, allocations: 9.344 kB / 0.8436 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.7133, allocations: 1.281 kB / 0.8436 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.7135, allocations: 33.08 kB / 0.8436 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.7135, allocations: 1.125 kB / 0.8436 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.7137, allocations: 26.88 kB / 0.8436 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.7137, allocations: 4.906 kB / 0.8436 GB, free: 12.95 MB / 0.5762 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.0001887/0.7139, allocations: 152.5 kB / 0.8438 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/0.714, allocations: 24.17 kB / 0.8438 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.66e-05/0.7141, allocations: 32.53 kB / 0.8438 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.7141, allocations: 1.094 kB / 0.8438 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.7141, allocations: 1.094 kB / 0.8438 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.7141, allocations: 0 / 0.8438 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.7153, allocations: 0.6878 MB / 0.8445 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.7153, allocations: 1.938 kB / 0.8445 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.7155, allocations: 31.95 kB / 0.8445 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.7155, allocations: 3.016 kB / 0.8445 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.7155, allocations: 15.03 kB / 0.8446 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.7155, allocations: 2.656 kB / 0.8446 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7155, allocations: 1.375 kB / 0.8446 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005626/0.7161, allocations: 358.6 kB / 0.8449 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.7162, allocations: 110.9 kB / 0.845 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.7163, allocations: 10.36 kB / 0.845 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.7165, allocations: 6.844 kB / 0.845 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.7165, allocations: 22.33 kB / 0.845 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.7166, allocations: 7.5 kB / 0.8451 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001785/0.7168, allocations: 185.3 kB / 0.8452 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7168, allocations: 0 / 0.8452 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004056/0.7172, allocations: 59.19 kB / 0.8453 GB, free: 11.75 MB / 0.5762 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.0004736/0.7176, allocations: 159.3 kB / 0.8454 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004523/0.7181, allocations: 178.1 kB / 0.8456 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7181, allocations: 0 / 0.8456 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.7183, allocations: 90.98 kB / 0.8457 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007259/0.7191, allocations: 124.5 kB / 0.8458 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007509/0.7198, allocations: 0.5085 MB / 0.8463 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.7201, allocations: 0.7473 MB / 0.847 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002133/0.7204, allocations: 69.42 kB / 0.8471 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.346e-05/0.7204, allocations: 24.39 kB / 0.8471 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.7204, allocations: 0 / 0.8471 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of Templates: time 0.008058/0.7285, allocations: 4.353 MB / 0.8514 GB, free: 8.148 MB / 0.5762 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)