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: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002702/0.002702, allocations: 177.7 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.933/2.933, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.328/1.328, allocations: 113.7 MB / 405.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000615/0.0006152, allocations: 13.19 kB / 493 MB, free: 8.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2932, allocations: 77.11 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.03212/0.3255, allocations: 17.46 MB / 0.5738 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01532/0.3409, allocations: 4.657 MB / 0.5783 GB, free: 5.535 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.3424, allocations: 23.88 kB / 0.5783 GB, free: 5.512 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.3444, allocations: 298.6 kB / 0.5786 GB, free: 5.219 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005588/0.35, allocations: 0.814 MB / 0.5794 GB, free: 4.402 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004929/0.355, allocations: 0.9025 MB / 0.5803 GB, free: 3.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003572/0.3585, allocations: 1.039 MB / 0.5813 GB, free: 2.477 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.3598, allocations: 403.2 kB / 0.5817 GB, free: 2.066 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002137/0.362, allocations: 0.5412 MB / 0.5822 GB, free: 1.523 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.3631, allocations: 338.5 kB / 0.5825 GB, free: 1.191 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.994e-05/0.3632, allocations: 24 kB / 0.5826 GB, free: 1.168 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003228/0.3665, allocations: 0.8229 MB / 0.5834 GB, free: 352 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.3668, allocations: 119.5 kB / 0.5835 GB, free: 232 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003789/0.3672, allocations: 145.3 kB / 0.5836 GB, free: 80 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6433/1.01, allocations: 0.7814 MB / 0.5844 GB, free: 12.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/1.011, allocations: 0 / 0.5844 GB, free: 12.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.883e-06/1.011, allocations: 0 / 0.5844 GB, free: 12.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.411e-05/1.011, allocations: 0 / 0.5844 GB, free: 12.72 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.003472/1.014, allocations: 0.9096 MB / 0.5853 GB, free: 12.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.514e-05/1.014, allocations: 10.31 kB / 0.5853 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002361/1.015, allocations: 75.55 kB / 0.5854 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001941/1.016, allocations: 195.5 kB / 0.5855 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002375/1.019, allocations: 0.507 MB / 0.586 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008048/1.02, allocations: 100.1 kB / 0.5861 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/1.02, allocations: 37.19 kB / 0.5862 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002785/1.023, allocations: 0.502 MB / 0.5867 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/1.023, allocations: 1.031 kB / 0.5867 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-05/1.023, allocations: 12.45 kB / 0.5867 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.942e-05/1.023, allocations: 9.969 kB / 0.5867 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002553/1.026, allocations: 436.8 kB / 0.5871 GB, free: 11.65 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.008177/1.034, allocations: 2.306 MB / 0.5894 GB, free: 26.22 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/1.036, allocations: 397.3 kB / 0.5897 GB, free: 26.19 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004189/1.037, allocations: 344 kB / 0.5901 GB, free: 25.81 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/1.038, allocations: 303.9 kB / 0.5904 GB, free: 25.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 6.532e-06/1.038, allocations: 0.8125 kB / 0.5904 GB, free: 25.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.004948/1.043, allocations: 0.9661 MB / 0.5913 GB, free: 25.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.286e-05/1.043, allocations: 87.19 kB / 0.5914 GB, free: 25.31 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/1.045, allocations: 0.4918 MB / 0.5919 GB, free: 25.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/1.045, allocations: 33.23 kB / 0.5919 GB, free: 25.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004919/1.045, allocations: 280.6 kB / 0.5922 GB, free: 25.03 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/1.046, allocations: 109.2 kB / 0.5923 GB, free: 24.96 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/1.046, allocations: 8.094 kB / 0.5923 GB, free: 24.96 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003207/1.046, allocations: 365 kB / 0.5926 GB, free: 24.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/1.047, allocations: 182.9 kB / 0.5928 GB, free: 24.64 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/1.048, allocations: 272.1 kB / 0.5931 GB, free: 24.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/1.049, allocations: 220.7 kB / 0.5933 GB, free: 24.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/1.049, allocations: 4 kB / 0.5933 GB, free: 24.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.003273/1.053, allocations: 0.623 MB / 0.5939 GB, free: 24.39 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005666/1.053, allocations: 0.6552 MB / 0.5945 GB, free: 23.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/1.053, allocations: 1.062 kB / 0.5945 GB, free: 23.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006336/1.054, allocations: 68.2 kB / 0.5946 GB, free: 23.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007804/1.055, allocations: 82.56 kB / 0.5947 GB, free: 23.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009844/1.056, allocations: 0.6054 MB / 0.5953 GB, free: 23.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/1.057, allocations: 78.52 kB / 0.5953 GB, free: 23.15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/1.057, allocations: 18.11 kB / 0.5953 GB, free: 23.15 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/1.057, allocations: 4.969 kB / 0.5953 GB, free: 23.15 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002845/1.06, allocations: 0.5623 MB / 0.5959 GB, free: 23.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/1.06, allocations: 6.25 kB / 0.5959 GB, free: 23.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003286/1.06, allocations: 48.36 kB / 0.5959 GB, free: 23.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008029/1.061, allocations: 82.73 kB / 0.596 GB, free: 23.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/1.065, allocations: 1.631 MB / 0.5976 GB, free: 21.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/1.066, allocations: 75 kB / 0.5977 GB, free: 21.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/1.066, allocations: 25.72 kB / 0.5977 GB, free: 21.66 MB / 462.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 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001037/1.067, allocations: 299.6 kB / 0.598 GB, free: 21.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004328/1.068, allocations: 55.53 kB / 0.5981 GB, free: 21.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/1.071, allocations: 0.6759 MB / 0.5987 GB, free: 21.29 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.027e-05/1.071, allocations: 4.578 kB / 0.5987 GB, free: 21.29 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.071, allocations: 0 / 0.5987 GB, free: 21.29 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002505/1.073, allocations: 0.8195 MB / 0.5995 GB, free: 20.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005033/1.078, allocations: 1.329 MB / 0.6008 GB, free: 20.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.078, allocations: 1.5 kB / 0.6008 GB, free: 20.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/1.079, allocations: 71.03 kB / 0.6009 GB, free: 20.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002538/1.079, allocations: 44 kB / 0.6009 GB, free: 20.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.841e-05/1.079, allocations: 11.81 kB / 0.6009 GB, free: 20.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005936/1.08, allocations: 0.5771 MB / 0.6015 GB, free: 19.95 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/1.08, allocations: 5.953 kB / 0.6015 GB, free: 19.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003524/1.084, allocations: 1.028 MB / 0.6025 GB, free: 19.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008485/1.084, allocations: 190 kB / 0.6027 GB, free: 19.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/1.085, allocations: 9.297 kB / 0.6027 GB, free: 19.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/1.086, allocations: 67.78 kB / 0.6028 GB, free: 19.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/1.086, allocations: 25.08 kB / 0.6028 GB, free: 19.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/1.086, allocations: 20.61 kB / 0.6028 GB, free: 19.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00109/1.087, allocations: 351.4 kB / 0.6031 GB, free: 19.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.9e-07/1.087, allocations: 4.938 kB / 0.6032 GB, free: 19.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002705/1.09, allocations: 345.4 kB / 0.6035 GB, free: 19.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004721/1.095, allocations: 1.961 MB / 0.6054 GB, free: 18.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003862/1.098, allocations: 0.9907 MB / 0.6064 GB, free: 18.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.098, allocations: 2.625 kB / 0.6064 GB, free: 18.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/1.1, allocations: 334.2 kB / 0.6067 GB, free: 17.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/1.102, allocations: 236.6 kB / 0.6069 GB, free: 17.96 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/1.112, allocations: 4.415 MB / 0.6112 GB, free: 15.94 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000733/1.113, allocations: 0.8988 MB / 0.6121 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001024/1.114, allocations: 128 kB / 0.6122 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003995/1.115, allocations: 194.5 kB / 0.6124 GB, free: 15.19 MB / 462.1 MB Notification: Performance of SimCode: time 1.242e-06/1.115, allocations: 0 / 0.6124 GB, free: 15.19 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05989/1.174, allocations: 16.27 MB / 0.6283 GB, free: 9.074 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000485/1.175, allocations: 264.4 kB / 0.6285 GB, free: 8.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.005/5.18, allocations: 0 / 0.6285 GB, free: 8.73 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) Environment - environmentSimulation: