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.00126/0.00126, allocations: 104 kB / 16.4 MB, free: 6.508 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.001262/0.001262, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.305/1.305, 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.8337/0.8337, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 64.69 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1709, allocations: 82.05 MB / 0.6763 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.654/0.825, allocations: 194.1 MB / 0.8658 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01201/0.837, allocations: 6.935 MB / 0.8726 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002155/0.8392, allocations: 43.69 kB / 0.8727 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.8416, allocations: 0.687 MB / 0.8733 GB, free: 4.109 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007558/0.8492, allocations: 2.35 MB / 0.8756 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004099/0.8533, allocations: 1.423 MB / 0.877 GB, free: 356 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005141/0.8585, allocations: 2.987 MB / 0.8799 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001971/0.8605, allocations: 0.892 MB / 0.8808 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003501/0.864, allocations: 1.151 MB / 0.8819 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/0.8659, allocations: 0.8003 MB / 0.8827 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004131/0.8663, allocations: 100 kB / 0.8828 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004576/0.8709, allocations: 2.062 MB / 0.8848 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006632/0.8716, allocations: 366.9 kB / 0.8852 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.8729, allocations: 0.583 MB / 0.8857 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005581/0.8784, allocations: 2.501 MB / 0.8882 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.8785, allocations: 0 / 0.8882 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.525e-06/0.8785, allocations: 0 / 0.8882 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.948e-05/0.8786, allocations: 0 / 0.8882 GB, free: 4.898 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.005042/0.8836, allocations: 1.639 MB / 0.8898 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.8837, allocations: 12.03 kB / 0.8898 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003238/0.8869, allocations: 0.537 MB / 0.8903 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002809/0.8898, allocations: 1.045 MB / 0.8913 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.7e-05/0.8899, allocations: 49.31 kB / 0.8914 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002454/0.8902, allocations: 75.98 kB / 0.8915 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002752/0.8929, allocations: 1.105 MB / 0.8925 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.893, allocations: 0 / 0.8925 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.8931, allocations: 31.94 kB / 0.8926 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.8931, allocations: 25.31 kB / 0.8926 GB, free: 260 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003174/0.8963, allocations: 1.172 MB / 0.8937 GB, free: 15.07 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.006503/0.9028, allocations: 3.17 MB / 0.8968 GB, free: 11.83 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.9046, allocations: 0.689 MB / 0.8975 GB, free: 11.13 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008138/0.9054, allocations: 419.6 kB / 0.8979 GB, free: 10.72 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009651/0.9064, allocations: 1.029 MB / 0.8989 GB, free: 9.473 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.9075, allocations: 0.5221 MB / 0.8994 GB, free: 8.918 MB / 0.67 GB Notification: Performance of pre-optimization done (n=57): time 3.526e-06/0.9075, allocations: 0 / 0.8994 GB, free: 8.918 MB / 0.67 GB Notification: Performance of matching and sorting (n=57): time 0.00311/0.9107, allocations: 1.213 MB / 0.9006 GB, free: 7.695 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.54e-05/0.9108, allocations: 144.9 kB / 0.9007 GB, free: 7.523 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002241/0.913, allocations: 1.176 MB / 0.9019 GB, free: 6.332 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.9132, allocations: 41.7 kB / 0.9019 GB, free: 6.285 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004375/0.9136, allocations: 437.5 kB / 0.9023 GB, free: 5.852 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.9138, allocations: 189.2 kB / 0.9025 GB, free: 5.664 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/0.9141, allocations: 146.1 kB / 0.9027 GB, free: 5.516 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.9143, allocations: 330 kB / 0.903 GB, free: 5.188 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/0.9155, allocations: 436.9 kB / 0.9034 GB, free: 4.762 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.9169, allocations: 0.5938 MB / 0.904 GB, free: 4.121 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.919, allocations: 0.93 MB / 0.9049 GB, free: 3.137 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.9191, allocations: 4 kB / 0.9049 GB, free: 3.133 MB / 0.67 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003224/0.9223, allocations: 1.193 MB / 0.9061 GB, free: 1.922 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.357e-05/0.9224, allocations: 39.58 kB / 0.9061 GB, free: 1.879 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.9224, allocations: 4 kB / 0.9061 GB, free: 1.875 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.9224, allocations: 7.984 kB / 0.9061 GB, free: 1.867 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009287/0.9234, allocations: 192 kB / 0.9063 GB, free: 1.68 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/0.9234, allocations: 11.88 kB / 0.9063 GB, free: 1.668 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.925, allocations: 238.8 kB / 0.9065 GB, free: 1.434 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.9252, allocations: 39.97 kB / 0.9066 GB, free: 1.395 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.0006772/0.9258, allocations: 331.3 kB / 0.9069 GB, free: 1.055 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003897/0.9262, allocations: 114.7 kB / 0.907 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.9286, allocations: 0.9917 MB / 0.908 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.9286, allocations: 8 kB / 0.908 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.9287, allocations: 3.938 kB / 0.908 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.9287, allocations: 8.5 kB / 0.908 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005247/0.9339, allocations: 3.155 MB / 0.9111 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/0.934, allocations: 8 kB / 0.9111 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/0.9346, allocations: 120 kB / 0.9112 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.601e-05/0.9346, allocations: 15.94 kB / 0.9112 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.966e-05/0.9347, allocations: 27.97 kB / 0.9112 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.521e-05/0.9347, allocations: 19.92 kB / 0.9112 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.227e-06/0.9347, allocations: 11.94 kB / 0.9113 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/0.937, allocations: 1.341 MB / 0.9126 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006321/0.9376, allocations: 335.3 kB / 0.9129 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/0.9379, allocations: 16 kB / 0.9129 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.9391, allocations: 107.9 kB / 0.913 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.9392, allocations: 63.7 kB / 0.9131 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.086e-05/0.9393, allocations: 39.97 kB / 0.9131 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001587/0.9409, allocations: 0.8443 MB / 0.9139 GB, free: 9.535 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9409, allocations: 4 kB / 0.9139 GB, free: 9.531 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001252/0.9422, allocations: 299.8 kB / 0.9142 GB, free: 9.238 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.0008541/0.943, allocations: 356.1 kB / 0.9146 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002464/0.9455, allocations: 1.006 MB / 0.9155 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.9455, allocations: 0 / 0.9155 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009483/0.9465, allocations: 0.5241 MB / 0.916 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003069/0.9496, allocations: 0.5592 MB / 0.9166 GB, free: 6.801 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/0.9536, allocations: 2.062 MB / 0.9186 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007863/0.9544, allocations: 1.065 MB / 0.9196 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/0.9549, allocations: 91.39 kB / 0.9197 GB, free: 3.41 MB / 0.6856 GB Notification: Performance of SimCode: time 1.002e-06/0.9549, allocations: 0 / 0.9197 GB, free: 3.41 MB / 0.6856 GB Notification: Performance of Templates: time 0.0311/0.986, allocations: 18.98 MB / 0.9383 GB, free: 0.5586 MB / 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)