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.005865/0.005866, allocations: 104.3 kB / 15.74 MB, free: 6.492 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.001285/0.001284, allocations: 190 kB / 16.67 MB, free: 6.379 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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 1.027/1.027, allocations: 143 MB / 433.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.91 kB / 0.5955 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5049/0.5063, allocations: 82.03 MB / 0.6756 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2165/0.7228, allocations: 194.1 MB / 0.8652 GB, free: 3.68 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.4696/1.192, allocations: 6.928 MB / 0.8719 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/1.194, allocations: 48.53 kB / 0.872 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001947/1.196, allocations: 0.6908 MB / 0.8726 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006533/1.203, allocations: 2.342 MB / 0.8749 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003677/1.206, allocations: 1.43 MB / 0.8763 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005426/1.212, allocations: 2.997 MB / 0.8793 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/1.213, allocations: 0.8823 MB / 0.8801 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002932/1.216, allocations: 1.155 MB / 0.8812 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/1.218, allocations: 0.7948 MB / 0.882 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000259/1.218, allocations: 101.7 kB / 0.8821 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004212/1.222, allocations: 2.063 MB / 0.8841 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003812/1.223, allocations: 366.2 kB / 0.8845 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007225/1.224, allocations: 0.5871 MB / 0.8851 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003516/1.227, allocations: 2.504 MB / 0.8875 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.227, allocations: 1.375 kB / 0.8875 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.944e-06/1.227, allocations: 3.875 kB / 0.8875 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.513e-05/1.227, allocations: 0.625 kB / 0.8875 GB, free: 1.578 MB / 0.6856 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.003375/1.231, allocations: 1.63 MB / 0.8891 GB, free: 16.71 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/1.231, allocations: 10.78 kB / 0.8891 GB, free: 16.71 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003038/1.234, allocations: 0.5336 MB / 0.8896 GB, free: 16.66 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/1.236, allocations: 1.042 MB / 0.8906 GB, free: 16.31 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.5e-05/1.236, allocations: 53.84 kB / 0.8907 GB, free: 16.31 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/1.237, allocations: 67.44 kB / 0.8908 GB, free: 16.31 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/1.239, allocations: 1.113 MB / 0.8918 GB, free: 16.21 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/1.239, allocations: 2.656 kB / 0.8918 GB, free: 16.21 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-05/1.239, allocations: 27.84 kB / 0.8919 GB, free: 16.21 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-05/1.239, allocations: 32.23 kB / 0.8919 GB, free: 16.21 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002949/1.242, allocations: 1.162 MB / 0.893 GB, free: 16.2 MB / 0.7012 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.006411/1.249, allocations: 3.162 MB / 0.8961 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/1.25, allocations: 0.6956 MB / 0.8968 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006885/1.251, allocations: 422.8 kB / 0.8972 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/1.252, allocations: 1.028 MB / 0.8982 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009666/1.253, allocations: 0.5129 MB / 0.8987 GB, free: 14 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 2.555e-06/1.253, allocations: 0 / 0.8987 GB, free: 14 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.002914/1.256, allocations: 1.222 MB / 0.8999 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.621e-05/1.256, allocations: 138.6 kB / 0.9 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/1.258, allocations: 1.175 MB / 0.9012 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.174e-05/1.258, allocations: 41.86 kB / 0.9012 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000303/1.258, allocations: 437.2 kB / 0.9016 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/1.258, allocations: 194.3 kB / 0.9018 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002601/1.259, allocations: 145.2 kB / 0.902 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.259, allocations: 331.2 kB / 0.9023 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/1.26, allocations: 439.5 kB / 0.9027 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/1.261, allocations: 0.5899 MB / 0.9033 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/1.263, allocations: 0.9386 MB / 0.9042 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.263, allocations: 0 / 0.9042 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002839/1.266, allocations: 1.196 MB / 0.9054 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/1.266, allocations: 43.31 kB / 0.9054 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.266, allocations: 0 / 0.9054 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/1.266, allocations: 8.156 kB / 0.9054 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008838/1.267, allocations: 190.5 kB / 0.9056 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/1.267, allocations: 7.75 kB / 0.9056 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/1.269, allocations: 237.7 kB / 0.9058 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.491e-05/1.269, allocations: 36.2 kB / 0.9059 GB, free: 12.43 MB / 0.7012 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.0004967/1.269, allocations: 338.6 kB / 0.9062 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/1.269, allocations: 118 kB / 0.9063 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/1.271, allocations: 0.9951 MB / 0.9073 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/1.271, allocations: 8.094 kB / 0.9073 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.271, allocations: 2.031 kB / 0.9073 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/1.271, allocations: 2.953 kB / 0.9073 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004621/1.276, allocations: 3.164 MB / 0.9104 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/1.276, allocations: 9.641 kB / 0.9104 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005739/1.277, allocations: 117.8 kB / 0.9105 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.97e-05/1.277, allocations: 14.81 kB / 0.9105 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/1.277, allocations: 30.25 kB / 0.9105 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/1.277, allocations: 14.28 kB / 0.9106 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-05/1.277, allocations: 18.52 kB / 0.9106 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/1.279, allocations: 1.334 MB / 0.9119 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006034/1.28, allocations: 336.7 kB / 0.9122 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/1.28, allocations: 27.17 kB / 0.9122 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/1.281, allocations: 101.3 kB / 0.9123 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/1.281, allocations: 55.06 kB / 0.9124 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-05/1.281, allocations: 43.78 kB / 0.9124 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001358/1.282, allocations: 0.8489 MB / 0.9132 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.9e-07/1.282, allocations: 0 / 0.9132 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001089/1.284, allocations: 294.3 kB / 0.9135 GB, free: 10.46 MB / 0.7012 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.0007152/1.284, allocations: 356.3 kB / 0.9139 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002255/1.286, allocations: 1.011 MB / 0.9148 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.287, allocations: 3.312 kB / 0.9149 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009362/1.287, allocations: 0.5191 MB / 0.9154 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002835/1.29, allocations: 0.5501 MB / 0.9159 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003873/1.294, allocations: 2.026 MB / 0.9179 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007394/1.295, allocations: 1.066 MB / 0.9189 GB, free: 8.461 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001163/1.296, allocations: 282.8 kB / 0.9192 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/1.296, allocations: 81.91 kB / 0.9193 GB, free: 8.387 MB / 0.7012 GB Notification: Performance of SimCode: time 1.052e-06/1.296, allocations: 0 / 0.9193 GB, free: 8.387 MB / 0.7012 GB Notification: Performance of Templates: time 0.04055/1.337, allocations: 22.67 MB / 0.9414 GB, free: 14.95 MB / 0.7169 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)