Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001573/0.001573, allocations: 110.5 kB / 16.41 MB, free: 6.496 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.00148/0.00148, allocations: 183 kB / 17.34 MB, free: 5.762 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8646/0.8646, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 67.19 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1614, allocations: 82.03 MB / 0.6763 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5339/0.6953, allocations: 194.6 MB / 0.8663 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01154/0.7068, allocations: 6.957 MB / 0.8731 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.7083, allocations: 43.69 kB / 0.8732 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.7102, allocations: 0.7142 MB / 0.8739 GB, free: 3.633 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0062/0.7164, allocations: 2.454 MB / 0.8763 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003496/0.7199, allocations: 1.43 MB / 0.8777 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004481/0.7244, allocations: 2.982 MB / 0.8806 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.7257, allocations: 0.7446 MB / 0.8813 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/0.7285, allocations: 1.149 MB / 0.8824 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.7299, allocations: 0.7974 MB / 0.8832 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001907/0.7301, allocations: 104 kB / 0.8833 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004051/0.7342, allocations: 2.066 MB / 0.8853 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005107/0.7347, allocations: 378.6 kB / 0.8857 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007484/0.7354, allocations: 0.5908 MB / 0.8862 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00391/0.7393, allocations: 2.507 MB / 0.8887 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.7393, allocations: 0 / 0.8887 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7393, allocations: 3.938 kB / 0.8887 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.225e-05/0.7394, allocations: 0 / 0.8887 GB, free: 4.426 MB / 0.6544 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.003632/0.743, allocations: 1.679 MB / 0.8903 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.743, allocations: 12.03 kB / 0.8904 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/0.7459, allocations: 0.5427 MB / 0.8909 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/0.7483, allocations: 1.05 MB / 0.8919 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.511e-05/0.7484, allocations: 53.31 kB / 0.892 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.7485, allocations: 75.98 kB / 0.892 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.7511, allocations: 1.101 MB / 0.8931 GB, free: 15.79 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.7511, allocations: 0 / 0.8931 GB, free: 15.79 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.132e-05/0.7512, allocations: 31.94 kB / 0.8931 GB, free: 15.75 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.714e-05/0.7513, allocations: 37.3 kB / 0.8932 GB, free: 15.72 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003213/0.7545, allocations: 1.16 MB / 0.8943 GB, free: 14.55 MB / 0.67 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.006111/0.7606, allocations: 3.187 MB / 0.8974 GB, free: 11.29 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.7624, allocations: 0.6461 MB / 0.898 GB, free: 10.64 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008119/0.7632, allocations: 403.1 kB / 0.8984 GB, free: 10.24 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009778/0.7642, allocations: 1.017 MB / 0.8994 GB, free: 9.004 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.7653, allocations: 0.5104 MB / 0.8999 GB, free: 8.461 MB / 0.67 GB Notification: Performance of pre-optimization done (n=57): time 2.234e-06/0.7653, allocations: 0 / 0.8999 GB, free: 8.461 MB / 0.67 GB Notification: Performance of matching and sorting (n=57): time 0.003146/0.7684, allocations: 1.237 MB / 0.9011 GB, free: 7.215 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.213e-05/0.7685, allocations: 140.9 kB / 0.9013 GB, free: 7.047 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/0.7705, allocations: 1.18 MB / 0.9024 GB, free: 5.852 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.7706, allocations: 41.7 kB / 0.9025 GB, free: 5.805 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004089/0.771, allocations: 437.9 kB / 0.9029 GB, free: 5.371 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.7712, allocations: 198.3 kB / 0.9031 GB, free: 5.176 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.7715, allocations: 146.1 kB / 0.9032 GB, free: 5.027 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.7717, allocations: 337.9 kB / 0.9035 GB, free: 4.691 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.773, allocations: 440.9 kB / 0.9039 GB, free: 4.262 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.7744, allocations: 0.5898 MB / 0.9045 GB, free: 3.625 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002153/0.7766, allocations: 0.9266 MB / 0.9054 GB, free: 2.645 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.7766, allocations: 4 kB / 0.9054 GB, free: 2.641 MB / 0.67 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00324/0.7798, allocations: 1.202 MB / 0.9066 GB, free: 1.422 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.938e-05/0.7799, allocations: 39.72 kB / 0.9066 GB, free: 1.379 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.7799, allocations: 4 kB / 0.9066 GB, free: 1.375 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.7799, allocations: 4.281 kB / 0.9067 GB, free: 1.371 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009153/0.7808, allocations: 191.7 kB / 0.9068 GB, free: 1.184 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/0.7808, allocations: 11.88 kB / 0.9068 GB, free: 1.172 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.7823, allocations: 247.1 kB / 0.9071 GB, free: 0.9297 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.384e-05/0.7824, allocations: 35.98 kB / 0.9071 GB, free: 0.8945 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (67): * Single equations (assignments): 66 * 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.0005285/0.7829, allocations: 335.3 kB / 0.9074 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.7831, allocations: 119.2 kB / 0.9075 GB, free: 444 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.7854, allocations: 0.9877 MB / 0.9085 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.7854, allocations: 8 kB / 0.9085 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.7854, allocations: 7.938 kB / 0.9085 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.7854, allocations: 3.984 kB / 0.9085 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005014/0.7904, allocations: 3.167 MB / 0.9116 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.7905, allocations: 8 kB / 0.9116 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005713/0.791, allocations: 124.1 kB / 0.9118 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.791, allocations: 8 kB / 0.9118 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.999e-05/0.7911, allocations: 27.98 kB / 0.9118 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.287e-05/0.7911, allocations: 15.98 kB / 0.9118 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/0.7911, allocations: 11.94 kB / 0.9118 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.7935, allocations: 1.35 MB / 0.9131 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/0.794, allocations: 340 kB / 0.9135 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.7942, allocations: 19.98 kB / 0.9135 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.7952, allocations: 99.91 kB / 0.9136 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.7953, allocations: 63.7 kB / 0.9136 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.565e-05/0.7954, allocations: 43.97 kB / 0.9137 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00153/0.797, allocations: 0.8443 MB / 0.9145 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.797, allocations: 4 kB / 0.9145 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001031/0.798, allocations: 303.6 kB / 0.9148 GB, free: 8.715 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (56): * Single equations (assignments): 51 * 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.0007185/0.7987, allocations: 354.4 kB / 0.9151 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00243/0.8011, allocations: 0.9665 MB / 0.9161 GB, free: 7.398 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.8012, allocations: 4 kB / 0.9161 GB, free: 7.395 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009473/0.8021, allocations: 485.3 kB / 0.9165 GB, free: 6.91 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/0.8048, allocations: 0.556 MB / 0.9171 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00369/0.8085, allocations: 2.106 MB / 0.9191 GB, free: 4.117 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000774/0.8093, allocations: 1.065 MB / 0.9202 GB, free: 3.016 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003469/0.8096, allocations: 87.41 kB / 0.9203 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of SimCode: time 7.02e-07/0.8096, allocations: 0 / 0.9203 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of Templates: time 0.02887/0.8385, allocations: 19.06 MB / 0.9389 GB, free: 8 kB / 0.7012 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)