Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 101.4 kB / 15.7 MB, free: 28 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.001817/0.001817, allocations: 195.6 kB / 16.64 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 71 kB / 0.6723 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.239, allocations: 114.5 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.679/0.9181, allocations: 194 MB / 0.9736 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01156/0.9297, allocations: 6.881 MB / 0.9803 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.9315, allocations: 46.97 kB / 0.9803 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.9334, allocations: 0.6907 MB / 0.981 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005696/0.9391, allocations: 2.287 MB / 0.9833 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003206/0.9423, allocations: 1.444 MB / 0.9847 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003513/0.9458, allocations: 2.92 MB / 0.9875 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/0.947, allocations: 0.9123 MB / 0.9884 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002661/0.9497, allocations: 1.14 MB / 0.9895 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.951, allocations: 0.8049 MB / 0.9903 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.9512, allocations: 102.2 kB / 0.9904 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004232/0.9555, allocations: 2.071 MB / 0.9924 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004234/0.9559, allocations: 368.3 kB / 0.9928 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006384/0.9565, allocations: 0.5901 MB / 0.9934 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00405/0.9606, allocations: 2.437 MB / 0.9957 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.9606, allocations: 2.25 kB / 0.9957 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9606, allocations: 0 / 0.9957 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.749e-05/0.9606, allocations: 0 / 0.9957 GB, free: 9.262 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004007/0.9647, allocations: 1.659 MB / 0.9974 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.9647, allocations: 10.09 kB / 0.9974 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002915/0.9676, allocations: 0.5394 MB / 0.9979 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/0.9698, allocations: 1.052 MB / 0.9989 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.724e-05/0.9699, allocations: 54.98 kB / 0.999 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.97, allocations: 68.84 kB / 0.999 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/0.9726, allocations: 1.133 MB / 1 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.9726, allocations: 0 / 1 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-05/0.9727, allocations: 31.47 kB / 1 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.463e-05/0.9727, allocations: 31.59 kB / 1 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003168/0.9759, allocations: 1.237 MB / 1.001 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005328/0.9812, allocations: 2.891 MB / 1.004 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.983, allocations: 0.7124 MB / 1.005 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008052/0.9839, allocations: 447 kB / 1.005 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000935/0.9848, allocations: 1.02 MB / 1.006 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.9859, allocations: 0.5385 MB / 1.007 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=59): time 2.355e-06/0.9859, allocations: 0 / 1.007 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=59): time 0.003084/0.989, allocations: 1.27 MB / 1.008 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.841e-05/0.9891, allocations: 118.9 kB / 1.008 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.9908, allocations: 1.17 MB / 1.009 GB, free: 68 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.926e-05/0.9909, allocations: 36.45 kB / 1.009 GB, free: 28 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.9913, allocations: 443.8 kB / 1.01 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.9915, allocations: 197.4 kB / 1.01 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000274/0.9917, allocations: 147.3 kB / 1.01 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.9919, allocations: 327.2 kB / 1.01 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.9931, allocations: 457.2 kB / 1.011 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.9945, allocations: 0.6002 MB / 1.011 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00203/0.9966, allocations: 0.9405 MB / 1.012 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.9966, allocations: 0 / 1.012 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003083/0.9997, allocations: 1.224 MB / 1.014 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/0.9997, allocations: 37 kB / 1.014 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.9998, allocations: 6.938 kB / 1.014 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.9998, allocations: 4.906 kB / 1.014 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009278/1.001, allocations: 199.9 kB / 1.014 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/1.001, allocations: 8.312 kB / 1.014 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/1.002, allocations: 243.8 kB / 1.014 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.571e-05/1.002, allocations: 34.81 kB / 1.014 GB, free: 13.06 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * 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.0005797/1.003, allocations: 328 kB / 1.014 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/1.003, allocations: 116.4 kB / 1.015 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/1.006, allocations: 1.054 MB / 1.016 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/1.006, allocations: 11.36 kB / 1.016 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/1.006, allocations: 11.88 kB / 1.016 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/1.006, allocations: 0 / 1.016 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004786/1.01, allocations: 3.22 MB / 1.019 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/1.01, allocations: 7.625 kB / 1.019 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006008/1.011, allocations: 130.4 kB / 1.019 GB, free: 9.848 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/1.011, allocations: 13.52 kB / 1.019 GB, free: 9.844 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/1.011, allocations: 27.52 kB / 1.019 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/1.011, allocations: 14.06 kB / 1.019 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.011, allocations: 11.44 kB / 1.019 GB, free: 9.824 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/1.013, allocations: 1.32 MB / 1.02 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004755/1.014, allocations: 334.8 kB / 1.021 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/1.014, allocations: 27.23 kB / 1.021 GB, free: 8.602 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/1.015, allocations: 100 kB / 1.021 GB, free: 8.562 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/1.015, allocations: 69.12 kB / 1.021 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.987e-05/1.015, allocations: 43.56 kB / 1.021 GB, free: 8.504 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00142/1.017, allocations: 0.8464 MB / 1.022 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/1.017, allocations: 0 / 1.022 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009726/1.018, allocations: 298.9 kB / 1.022 GB, free: 7.988 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.0006539/1.018, allocations: 344.4 kB / 1.022 GB, free: 7.797 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002323/1.021, allocations: 1.05 MB / 1.023 GB, free: 7.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.021, allocations: 2.781 kB / 1.023 GB, free: 7.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009182/1.022, allocations: 0.5361 MB / 1.024 GB, free: 6.949 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/1.024, allocations: 0.5462 MB / 1.024 GB, free: 6.664 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/1.028, allocations: 2.072 MB / 1.026 GB, free: 4.703 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006173/1.028, allocations: 1.065 MB / 1.027 GB, free: 3.609 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009725/1.029, allocations: 283.4 kB / 1.028 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/1.029, allocations: 83.41 kB / 1.028 GB, free: 3.25 MB / 0.7481 GB Notification: Performance of SimCode: time 3.91e-07/1.029, allocations: 0 / 1.028 GB, free: 3.25 MB / 0.7481 GB Notification: Performance of Templates: time 0.03658/1.066, allocations: 22.27 MB / 1.049 GB, free: 13.24 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)