Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.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.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 115.1 kB / 17.04 MB, free: 5.805 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.001765/0.001764, allocations: 195 kB / 17.98 MB, free: 5.031 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.349/1.349, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7399/0.7399, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 63.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3537, allocations: 76.15 MB / 0.5576 GB, free: 36.99 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.01976/0.3735, allocations: 20.81 MB / 0.5779 GB, free: 22.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007559/0.3811, allocations: 5.391 MB / 0.5832 GB, free: 18.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008915/0.382, allocations: 25.56 kB / 0.5832 GB, free: 18.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008878/0.3829, allocations: 351.4 kB / 0.5835 GB, free: 18.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00231/0.3853, allocations: 0.9236 MB / 0.5844 GB, free: 17.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002613/0.3879, allocations: 0.9323 MB / 0.5853 GB, free: 17.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002303/0.3902, allocations: 1.732 MB / 0.587 GB, free: 16.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009261/0.3911, allocations: 0.491 MB / 0.5875 GB, free: 16.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001998/0.3931, allocations: 0.6931 MB / 0.5882 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009892/0.3941, allocations: 0.4978 MB / 0.5887 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.3943, allocations: 44.78 kB / 0.5887 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.3969, allocations: 1.123 MB / 0.5898 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002696/0.3972, allocations: 146.7 kB / 0.5899 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006415/0.3978, allocations: 329.2 kB / 0.5903 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002232/0.4001, allocations: 1.225 MB / 0.5915 GB, free: 14.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4001, allocations: 0 / 0.5915 GB, free: 14.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4001, allocations: 1.25 kB / 0.5915 GB, free: 14.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.795e-05/0.4001, allocations: 0 / 0.5915 GB, free: 14.34 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002011/0.4022, allocations: 1.04 MB / 0.5925 GB, free: 13.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.4022, allocations: 9.594 kB / 0.5925 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009823/0.4032, allocations: 181 kB / 0.5927 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.4044, allocations: 0.5901 MB / 0.5932 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.4044, allocations: 30.22 kB / 0.5933 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.839e-05/0.4045, allocations: 37.66 kB / 0.5933 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008994/0.4054, allocations: 0.4891 MB / 0.5938 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.4055, allocations: 0 / 0.5938 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/0.4055, allocations: 15.97 kB / 0.5938 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.4055, allocations: 10.66 kB / 0.5938 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009549/0.4065, allocations: 409.4 kB / 0.5942 GB, free: 12.37 MB / 446.1 MB 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.002728/0.4092, allocations: 2.28 MB / 0.5964 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009048/0.4102, allocations: 370.9 kB / 0.5968 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004473/0.4106, allocations: 224.7 kB / 0.597 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002025/0.4108, allocations: 341.6 kB / 0.5973 GB, free: 9.617 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000569/0.4114, allocations: 300.1 kB / 0.5976 GB, free: 9.418 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.863e-06/0.4114, allocations: 1.5 kB / 0.5976 GB, free: 9.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002084/0.4135, allocations: 0.8492 MB / 0.5984 GB, free: 8.934 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.4136, allocations: 82.02 kB / 0.5985 GB, free: 8.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005162/0.4141, allocations: 0.4888 MB / 0.599 GB, free: 8.547 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.4141, allocations: 40.23 kB / 0.599 GB, free: 8.504 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.4143, allocations: 271.8 kB / 0.5993 GB, free: 8.266 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.433e-05/0.4144, allocations: 108.5 kB / 0.5994 GB, free: 8.172 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.4145, allocations: 78.73 kB / 0.5995 GB, free: 8.121 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.959e-05/0.4146, allocations: 362.9 kB / 0.5998 GB, free: 7.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/0.415, allocations: 175.5 kB / 0.6 GB, free: 7.688 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004817/0.4155, allocations: 264.2 kB / 0.6002 GB, free: 7.504 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000846/0.4164, allocations: 470.2 kB / 0.6007 GB, free: 7.207 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.4164, allocations: 1.125 kB / 0.6007 GB, free: 7.207 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001354/0.4177, allocations: 0.6082 MB / 0.6013 GB, free: 6.887 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.4178, allocations: 46.84 kB / 0.6013 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4178, allocations: 9.125 kB / 0.6013 GB, free: 6.836 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003298/0.4181, allocations: 70.81 kB / 0.6014 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.4185, allocations: 83.56 kB / 0.6015 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000351/0.4189, allocations: 0.5922 MB / 0.602 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005013/0.4194, allocations: 68.16 kB / 0.6021 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.4194, allocations: 16.61 kB / 0.6021 GB, free: 6.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005113/0.4199, allocations: 313.4 kB / 0.6024 GB, free: 5.969 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004371/0.4204, allocations: 262.9 kB / 0.6027 GB, free: 5.785 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007511/0.4212, allocations: 451.7 kB / 0.6031 GB, free: 5.336 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.604e-06/0.4212, allocations: 0 / 0.6031 GB, free: 5.336 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001064/0.4222, allocations: 0.5926 MB / 0.6037 GB, free: 4.727 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.4223, allocations: 37.69 kB / 0.6037 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.4223, allocations: 0 / 0.6037 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.4224, allocations: 56.92 kB / 0.6038 GB, free: 4.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.4227, allocations: 75.94 kB / 0.6038 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.4238, allocations: 1.802 MB / 0.6056 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004594/0.4242, allocations: 55.77 kB / 0.6057 GB, free: 2.543 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.4243, allocations: 16 kB / 0.6057 GB, free: 2.527 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.4245, allocations: 243.1 kB / 0.6059 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.384e-05/0.4246, allocations: 55.34 kB / 0.606 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.4257, allocations: 0.6347 MB / 0.6066 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.4258, allocations: 8 kB / 0.6066 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.4258, allocations: 0 / 0.6066 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001011/0.4268, allocations: 0.802 MB / 0.6074 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.4288, allocations: 1.292 MB / 0.6086 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.4288, allocations: 4 kB / 0.6086 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/0.4292, allocations: 59.89 kB / 0.6087 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.4293, allocations: 48.81 kB / 0.6087 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.4293, allocations: 12 kB / 0.6088 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003444/0.4297, allocations: 0.5797 MB / 0.6093 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.4297, allocations: 4.031 kB / 0.6093 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.4315, allocations: 0.9652 MB / 0.6103 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.4318, allocations: 172.3 kB / 0.6104 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-05/0.4319, allocations: 12 kB / 0.6104 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005068/0.4324, allocations: 48.08 kB / 0.6105 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.4325, allocations: 19.95 kB / 0.6105 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-05/0.4326, allocations: 35.89 kB / 0.6105 GB, free: 13.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003716/0.4329, allocations: 346.8 kB / 0.6109 GB, free: 12.94 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4329, allocations: 0 / 0.6109 GB, free: 12.94 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001105/0.4341, allocations: 331.5 kB / 0.6112 GB, free: 12.61 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007153/0.4348, allocations: 308.2 kB / 0.6115 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002015/0.4368, allocations: 0.971 MB / 0.6124 GB, free: 11.31 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.4368, allocations: 8.188 kB / 0.6124 GB, free: 11.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006069/0.4374, allocations: 315.3 kB / 0.6127 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.4385, allocations: 218.8 kB / 0.6129 GB, free: 10.78 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.4408, allocations: 1.108 MB / 0.614 GB, free: 9.641 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.4413, allocations: 0.8784 MB / 0.6149 GB, free: 8.734 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004461/0.4417, allocations: 126.3 kB / 0.615 GB, free: 8.609 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.4419, allocations: 47.36 kB / 0.615 GB, free: 8.562 MB / 462.1 MB Notification: Performance of SimCode: time 4.4e-07/0.4419, allocations: 4 kB / 0.6151 GB, free: 8.559 MB / 462.1 MB Notification: Performance of Templates: time 0.01941/0.4613, allocations: 11.31 MB / 0.6261 GB, free: 13.41 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)