Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001321/0.001321, allocations: 101.1 kB / 16.27 MB, free: 6.406 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.001464/0.001464, allocations: 190.2 kB / 17.2 MB, free: 5.973 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.348/1.348, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7672/0.7672, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 59.91 kB / 0.4911 GB, free: 7.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3575, allocations: 77.93 MB / 0.5672 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5279/0.8854, allocations: 194 MB / 0.7567 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01058/0.896, allocations: 6.941 MB / 0.7634 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002426/0.8985, allocations: 44.12 kB / 0.7635 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.9007, allocations: 0.6893 MB / 0.7641 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007438/0.9081, allocations: 2.337 MB / 0.7664 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003773/0.9119, allocations: 1.407 MB / 0.7678 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004726/0.9166, allocations: 2.992 MB / 0.7707 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.9182, allocations: 0.8912 MB / 0.7716 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003427/0.9217, allocations: 1.124 MB / 0.7727 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.9234, allocations: 0.7982 MB / 0.7735 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002647/0.9236, allocations: 99.59 kB / 0.7736 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00478/0.9284, allocations: 2.052 MB / 0.7756 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000591/0.929, allocations: 374.3 kB / 0.7759 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.9301, allocations: 0.5845 MB / 0.7765 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00446/0.9346, allocations: 2.365 MB / 0.7788 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.9346, allocations: 0 / 0.7788 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9346, allocations: 0.7812 kB / 0.7788 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.067e-05/0.9347, allocations: 0 / 0.7788 GB, free: 1.434 MB / 0.5762 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.003967/0.9386, allocations: 1.624 MB / 0.7804 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.9387, allocations: 12.47 kB / 0.7804 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002953/0.9416, allocations: 0.5394 MB / 0.7809 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.9436, allocations: 0.9846 MB / 0.7819 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001166/0.9448, allocations: 271.1 kB / 0.7822 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.9449, allocations: 69.95 kB / 0.7822 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/0.9473, allocations: 1.13 MB / 0.7833 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.9473, allocations: 1.031 kB / 0.7833 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.587e-05/0.9474, allocations: 29.47 kB / 0.7834 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.314e-05/0.9475, allocations: 30.05 kB / 0.7834 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003352/0.9509, allocations: 1.204 MB / 0.7846 GB, free: 16.05 MB / 0.5919 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.006016/0.9569, allocations: 3.216 MB / 0.7877 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.9585, allocations: 0.6822 MB / 0.7884 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007217/0.9592, allocations: 425.6 kB / 0.7888 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008563/0.9601, allocations: 1.023 MB / 0.7898 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000903/0.961, allocations: 0.5123 MB / 0.7903 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.335e-06/0.961, allocations: 0.8438 kB / 0.7903 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.002909/0.9639, allocations: 1.219 MB / 0.7915 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/0.964, allocations: 151.9 kB / 0.7916 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/0.9659, allocations: 1.199 MB / 0.7928 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.745e-05/0.9659, allocations: 37.77 kB / 0.7928 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/0.9663, allocations: 433.6 kB / 0.7932 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.9665, allocations: 195.4 kB / 0.7934 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002491/0.9667, allocations: 147.4 kB / 0.7936 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.9668, allocations: 332.4 kB / 0.7939 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.9681, allocations: 458.1 kB / 0.7943 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.9695, allocations: 0.6167 MB / 0.7949 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00203/0.9716, allocations: 0.9492 MB / 0.7958 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.9716, allocations: 3.188 kB / 0.7958 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003115/0.9747, allocations: 1.227 MB / 0.797 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.9748, allocations: 45.17 kB / 0.7971 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.9748, allocations: 7.219 kB / 0.7971 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.9748, allocations: 5.312 kB / 0.7971 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009465/0.9758, allocations: 207.7 kB / 0.7973 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.9758, allocations: 4.781 kB / 0.7973 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.9774, allocations: 269.4 kB / 0.7976 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.06e-05/0.9775, allocations: 36.59 kB / 0.7976 GB, free: 12.18 MB / 0.5919 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.0004711/0.978, allocations: 329.5 kB / 0.7979 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.9782, allocations: 118.6 kB / 0.798 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001976/0.9802, allocations: 0.991 MB / 0.799 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.9802, allocations: 15.58 kB / 0.799 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.9802, allocations: 0 / 0.799 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.9802, allocations: 2.531 kB / 0.799 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004095/0.9843, allocations: 3.162 MB / 0.8021 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.9843, allocations: 8.812 kB / 0.8021 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005529/0.9849, allocations: 117.5 kB / 0.8022 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/0.9849, allocations: 10.75 kB / 0.8022 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.314e-05/0.985, allocations: 26.75 kB / 0.8022 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/0.985, allocations: 17.23 kB / 0.8023 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.985, allocations: 12.38 kB / 0.8023 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.9871, allocations: 1.335 MB / 0.8036 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004898/0.9876, allocations: 334.7 kB / 0.8039 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.9877, allocations: 25.48 kB / 0.8039 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.9888, allocations: 109.9 kB / 0.804 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.805e-05/0.989, allocations: 64.5 kB / 0.8041 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.06e-05/0.989, allocations: 39.81 kB / 0.8041 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001486/0.9905, allocations: 0.8669 MB / 0.805 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9905, allocations: 4 kB / 0.805 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001048/0.9916, allocations: 299.4 kB / 0.8053 GB, free: 10.16 MB / 0.5919 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.0006381/0.9922, allocations: 348.7 kB / 0.8056 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002431/0.9947, allocations: 1.055 MB / 0.8066 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.9947, allocations: 2.031 kB / 0.8066 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008502/0.9956, allocations: 0.5075 MB / 0.8071 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/0.9982, allocations: 0.5591 MB / 0.8077 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/1.001, allocations: 2.043 MB / 0.8097 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/1.002, allocations: 1.075 MB / 0.8107 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001131/1.003, allocations: 276.3 kB / 0.811 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/1.003, allocations: 79.7 kB / 0.8111 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/1.003, allocations: 0 / 0.8111 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of Templates: time 0.0334/1.037, allocations: 22.07 MB / 0.8326 GB, free: 6.48 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)