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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.71/0.71, allocations: 128.7 MB / 144.5 MB, free: 1.359 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 183.8 kB / 174.2 MB, free: 5.938 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.1 MB / 408.9 MB, free: 9.688 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 103.9 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 57.11 kB / 0.558 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1187, allocations: 75.47 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4754/0.5942, allocations: 220.8 MB / 0.8473 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.009907/0.6041, allocations: 7.059 MB / 0.8541 GB, free: 5.008 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.6055, allocations: 40.44 kB / 0.8542 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.6071, allocations: 0.5623 MB / 0.8547 GB, free: 4.52 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.005498/0.6127, allocations: 2.19 MB / 0.8569 GB, free: 2.848 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002941/0.6156, allocations: 1.179 MB / 0.858 GB, free: 1.969 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004257/0.6199, allocations: 4.047 MB / 0.862 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.6211, allocations: 0.8212 MB / 0.8628 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.6226, allocations: 0.996 MB / 0.8637 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.6244, allocations: 0.8886 MB / 0.8646 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.6246, allocations: 48 kB / 0.8647 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003848/0.6284, allocations: 2.229 MB / 0.8668 GB, free: 9.668 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003739/0.6288, allocations: 310.9 kB / 0.8671 GB, free: 9.363 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006558/0.6295, allocations: 0.5284 MB / 0.8677 GB, free: 8.832 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003624/0.6331, allocations: 2.49 MB / 0.8701 GB, free: 6.336 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6332, allocations: 0 / 0.8701 GB, free: 6.336 MB / 0.5573 GB Notification: Performance of FrontEnd: time 7.62e-07/0.6332, allocations: 0 / 0.8701 GB, free: 6.336 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.6332, allocations: 0 / 0.8701 GB, free: 6.336 MB / 0.5573 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.00364/0.6368, allocations: 1.641 MB / 0.8717 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.6369, allocations: 11.97 kB / 0.8717 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002852/0.6397, allocations: 0.5331 MB / 0.8722 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002078/0.6418, allocations: 0.9791 MB / 0.8732 GB, free: 3.066 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00119/0.643, allocations: 273.1 kB / 0.8734 GB, free: 2.801 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.6432, allocations: 71.97 kB / 0.8735 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/0.6458, allocations: 1.14 MB / 0.8746 GB, free: 1.57 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.6458, allocations: 0 / 0.8746 GB, free: 1.57 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.582e-05/0.6459, allocations: 28 kB / 0.8746 GB, free: 1.543 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/0.6459, allocations: 33.25 kB / 0.8747 GB, free: 1.512 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003304/0.6492, allocations: 1.282 MB / 0.8759 GB, free: 236 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00569/0.655, allocations: 3.005 MB / 0.8789 GB, free: 13.14 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.6569, allocations: 0.7109 MB / 0.8796 GB, free: 12.42 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007793/0.6577, allocations: 393.8 kB / 0.8799 GB, free: 12.03 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008689/0.6586, allocations: 1.021 MB / 0.8809 GB, free: 10.79 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.6596, allocations: 0.4949 MB / 0.8814 GB, free: 10.27 MB / 0.573 GB Notification: Performance of pre-optimization done (n=51): time 3.166e-06/0.6596, allocations: 0 / 0.8814 GB, free: 10.27 MB / 0.573 GB Notification: Performance of matching and sorting (n=51): time 0.002986/0.6626, allocations: 1.184 MB / 0.8826 GB, free: 9.07 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/0.6627, allocations: 114.8 kB / 0.8827 GB, free: 8.934 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/0.6648, allocations: 1.207 MB / 0.8839 GB, free: 7.711 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.487e-05/0.6649, allocations: 33.7 kB / 0.8839 GB, free: 7.672 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003833/0.6653, allocations: 456.6 kB / 0.8843 GB, free: 7.223 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.6655, allocations: 169.5 kB / 0.8845 GB, free: 7.055 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/0.6657, allocations: 138.1 kB / 0.8846 GB, free: 6.914 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.6659, allocations: 337.9 kB / 0.8849 GB, free: 6.578 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.6673, allocations: 464.8 kB / 0.8854 GB, free: 6.125 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.6688, allocations: 0.5821 MB / 0.886 GB, free: 5.504 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/0.6711, allocations: 0.919 MB / 0.8868 GB, free: 4.543 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.6711, allocations: 0 / 0.8868 GB, free: 4.543 MB / 0.573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00368/0.6748, allocations: 1.222 MB / 0.888 GB, free: 3.309 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.872e-05/0.6748, allocations: 33.7 kB / 0.8881 GB, free: 3.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.6749, allocations: 4 kB / 0.8881 GB, free: 3.266 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.6749, allocations: 4 kB / 0.8881 GB, free: 3.262 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.6759, allocations: 199.9 kB / 0.8883 GB, free: 3.066 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.6759, allocations: 4.938 kB / 0.8883 GB, free: 3.062 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.6776, allocations: 273.5 kB / 0.8885 GB, free: 2.797 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.68e-05/0.6777, allocations: 35.92 kB / 0.8886 GB, free: 2.762 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (65): * Single equations (assignments): 64 * 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.0004782/0.6782, allocations: 320.8 kB / 0.8889 GB, free: 2.434 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/0.6785, allocations: 118.5 kB / 0.889 GB, free: 2.316 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.6807, allocations: 0.9853 MB / 0.89 GB, free: 1.316 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.6807, allocations: 12 kB / 0.89 GB, free: 1.305 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6807, allocations: 0 / 0.89 GB, free: 1.305 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.6807, allocations: 4.078 kB / 0.89 GB, free: 1.301 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004556/0.6853, allocations: 2.774 MB / 0.8927 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.6853, allocations: 8.594 kB / 0.8927 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00056/0.6859, allocations: 111.8 kB / 0.8928 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.6859, allocations: 8 kB / 0.8928 GB, free: 14.26 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.504e-05/0.686, allocations: 27.92 kB / 0.8928 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/0.686, allocations: 15.92 kB / 0.8928 GB, free: 14.22 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.686, allocations: 4 kB / 0.8928 GB, free: 14.21 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003466/0.6895, allocations: 2.437 MB / 0.8952 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005502/0.69, allocations: 319.3 kB / 0.8955 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.6902, allocations: 20 kB / 0.8956 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.6913, allocations: 115.8 kB / 0.8957 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/0.6914, allocations: 47.83 kB / 0.8957 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.62e-05/0.6915, allocations: 31.97 kB / 0.8957 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001557/0.6931, allocations: 0.8753 MB / 0.8966 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6931, allocations: 0 / 0.8966 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001066/0.6942, allocations: 299.8 kB / 0.8969 GB, free: 9.93 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (50): * Single equations (assignments): 45 * 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.0006751/0.6949, allocations: 340.4 kB / 0.8972 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002476/0.6973, allocations: 1.014 MB / 0.8982 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.6974, allocations: 0 / 0.8982 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0009258/0.6983, allocations: 0.5082 MB / 0.8987 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/0.7011, allocations: 0.5383 MB / 0.8992 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004081/0.7052, allocations: 2.618 MB / 0.9018 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007262/0.7059, allocations: 1.073 MB / 0.9028 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0012/0.7071, allocations: 269.5 kB / 0.9031 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.7075, allocations: 87.39 kB / 0.9032 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of SimCode: time 2.314e-06/0.7075, allocations: 0 / 0.9032 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of Templates: time 0.03376/0.7412, allocations: 21.9 MB / 0.9245 GB, free: 13.61 MB / 0.6198 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)