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.001273/0.001272, allocations: 101.7 kB / 16.27 MB, free: 5.996 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.001126/0.001126, allocations: 182.3 kB / 17.19 MB, free: 5.609 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.426/1.426, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.746/1.746, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.001417/0.001417, allocations: 71.89 kB / 0.6722 GB, free: 6.492 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2246, allocations: 114.6 MB / 0.784 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5803/0.805, allocations: 194 MB / 0.9735 GB, free: 8.574 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01139/0.8164, allocations: 6.887 MB / 0.9802 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002024/0.8185, allocations: 47.69 kB / 0.9803 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.8206, allocations: 0.6869 MB / 0.9809 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006504/0.8271, allocations: 2.299 MB / 0.9832 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003806/0.8309, allocations: 1.396 MB / 0.9845 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004375/0.8353, allocations: 2.912 MB / 0.9874 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.8367, allocations: 0.9061 MB / 0.9883 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003101/0.8398, allocations: 1.152 MB / 0.9894 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.8412, allocations: 0.8096 MB / 0.9902 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001803/0.8414, allocations: 103.9 kB / 0.9903 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004218/0.8456, allocations: 2.054 MB / 0.9923 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004419/0.846, allocations: 366.9 kB / 0.9926 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007913/0.8468, allocations: 0.5947 MB / 0.9932 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004208/0.8511, allocations: 2.411 MB / 0.9956 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.8511, allocations: 0 / 0.9956 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8511, allocations: 0 / 0.9956 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.854e-05/0.8511, allocations: 0 / 0.9956 GB, free: 1.965 MB / 0.7794 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.003851/0.855, allocations: 1.664 MB / 0.9972 GB, free: 248 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.855, allocations: 8.031 kB / 0.9972 GB, free: 240 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002891/0.8579, allocations: 0.5331 MB / 0.9977 GB, free: 15.7 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.86, allocations: 0.9908 MB / 0.9987 GB, free: 14.66 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001138/0.8612, allocations: 281 kB / 0.999 GB, free: 14.39 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.8613, allocations: 68 kB / 0.999 GB, free: 14.32 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00257/0.8639, allocations: 1.156 MB / 1 GB, free: 13.15 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.8639, allocations: 0 / 1 GB, free: 13.15 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.99e-05/0.864, allocations: 29.94 kB / 1 GB, free: 13.12 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.925e-05/0.8641, allocations: 29.31 kB / 1 GB, free: 13.09 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00335/0.8674, allocations: 1.282 MB / 1.001 GB, free: 11.81 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006385/0.8738, allocations: 2.931 MB / 1.004 GB, free: 8.824 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/0.8765, allocations: 0.7198 MB / 1.005 GB, free: 8.094 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.8777, allocations: 448.2 kB / 1.005 GB, free: 7.656 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/0.879, allocations: 1.021 MB / 1.006 GB, free: 6.414 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001511/0.8805, allocations: 0.533 MB / 1.007 GB, free: 5.852 MB / 0.795 GB Notification: Performance of pre-optimization done (n=59): time 3.226e-06/0.8805, allocations: 4 kB / 1.007 GB, free: 5.848 MB / 0.795 GB Notification: Performance of matching and sorting (n=59): time 0.004544/0.8851, allocations: 1.264 MB / 1.008 GB, free: 4.578 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.8852, allocations: 123.2 kB / 1.008 GB, free: 4.434 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00327/0.8885, allocations: 1.194 MB / 1.009 GB, free: 3.227 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.8886, allocations: 41.7 kB / 1.01 GB, free: 3.18 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005035/0.8891, allocations: 437.5 kB / 1.01 GB, free: 2.75 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/0.8894, allocations: 193.1 kB / 1.01 GB, free: 2.559 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003844/0.8898, allocations: 150.1 kB / 1.01 GB, free: 2.406 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002551/0.8901, allocations: 326 kB / 1.011 GB, free: 2.082 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/0.892, allocations: 480.9 kB / 1.011 GB, free: 1.613 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/0.8942, allocations: 0.6139 MB / 1.012 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002464/0.8967, allocations: 0.9611 MB / 1.013 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.8967, allocations: 4 kB / 1.013 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00472/0.9014, allocations: 1.264 MB / 1.014 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.334e-05/0.9015, allocations: 33.7 kB / 1.014 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.9015, allocations: 4 kB / 1.014 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.9016, allocations: 7.938 kB / 1.014 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/0.903, allocations: 207.9 kB / 1.014 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/0.903, allocations: 11.98 kB / 1.014 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002384/0.9054, allocations: 265.3 kB / 1.014 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.9056, allocations: 41.09 kB / 1.014 GB, free: 14.1 MB / 0.8106 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.0006954/0.9063, allocations: 331.3 kB / 1.015 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/0.9066, allocations: 114.6 kB / 1.015 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003094/0.9097, allocations: 1.043 MB / 1.016 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.9097, allocations: 19.88 kB / 1.016 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.9097, allocations: 4 kB / 1.016 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.9098, allocations: 3.984 kB / 1.016 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007202/0.917, allocations: 3.212 MB / 1.019 GB, free: 9.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.917, allocations: 8 kB / 1.019 GB, free: 9.184 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008504/0.9179, allocations: 132.2 kB / 1.019 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.212e-05/0.9179, allocations: 8 kB / 1.019 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.825e-05/0.918, allocations: 31.05 kB / 1.019 GB, free: 9.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.82e-05/0.918, allocations: 23.86 kB / 1.019 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.395e-05/0.9181, allocations: 11.94 kB / 1.019 GB, free: 8.984 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003301/0.9214, allocations: 1.309 MB / 1.02 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000776/0.9222, allocations: 335.4 kB / 1.021 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/0.9224, allocations: 20 kB / 1.021 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/0.9241, allocations: 115.9 kB / 1.021 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.9242, allocations: 59.75 kB / 1.021 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/0.9244, allocations: 43.97 kB / 1.021 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00201/0.9264, allocations: 0.8597 MB / 1.022 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9264, allocations: 0 / 1.022 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001087/0.9275, allocations: 307.8 kB / 1.022 GB, free: 5.812 MB / 0.8106 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.0008516/0.9284, allocations: 364.1 kB / 1.022 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002783/0.9312, allocations: 1.084 MB / 1.024 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.9312, allocations: 4.312 kB / 1.024 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009829/0.9322, allocations: 0.532 MB / 1.024 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/0.9349, allocations: 0.5596 MB / 1.025 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004256/0.9392, allocations: 2.127 MB / 1.027 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007089/0.9399, allocations: 1.061 MB / 1.028 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000388/0.9403, allocations: 95.39 kB / 1.028 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of SimCode: time 1.052e-06/0.9403, allocations: 4 kB / 1.028 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of Templates: time 0.02986/0.9702, allocations: 18.92 MB / 1.046 GB, free: 13.16 MB / 0.8419 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)