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.001237/0.001237, allocations: 109.7 kB / 16.64 MB, free: 6.941 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.001235/0.001235, allocations: 193.9 kB / 17.57 MB, free: 6.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.353/1.353, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7685/0.7685, allocations: 122.9 MB / 414.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 67.89 kB / 0.4912 GB, free: 7.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3936, allocations: 77.91 MB / 0.5673 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6212/1.015, allocations: 191.5 MB / 0.7543 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0134/1.028, allocations: 6.893 MB / 0.761 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003429/1.032, allocations: 41.78 kB / 0.7611 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003239/1.035, allocations: 0.5892 MB / 0.7616 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009367/1.045, allocations: 2.204 MB / 0.7638 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004705/1.049, allocations: 1.313 MB / 0.7651 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006276/1.056, allocations: 2.999 MB / 0.768 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002488/1.058, allocations: 0.9025 MB / 0.7689 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004468/1.063, allocations: 1.164 MB / 0.77 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002519/1.065, allocations: 0.8386 MB / 0.7708 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005591/1.066, allocations: 102.2 kB / 0.7709 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005531/1.071, allocations: 2.135 MB / 0.773 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008158/1.072, allocations: 367.8 kB / 0.7734 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00197/1.074, allocations: 0.5927 MB / 0.774 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003974/1.078, allocations: 1.782 MB / 0.7757 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/1.078, allocations: 5.094 kB / 0.7757 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.497e-06/1.078, allocations: 1.094 kB / 0.7757 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.446e-05/1.078, allocations: 0.8438 kB / 0.7757 GB, free: 1.457 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.004502/1.083, allocations: 1.621 MB / 0.7773 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/1.083, allocations: 10.72 kB / 0.7773 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002885/1.086, allocations: 0.535 MB / 0.7778 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/1.088, allocations: 0.9863 MB / 0.7788 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001264/1.089, allocations: 273.1 kB / 0.779 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/1.089, allocations: 70.67 kB / 0.7791 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003332/1.093, allocations: 1.132 MB / 0.7802 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/1.093, allocations: 0 / 0.7802 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/1.093, allocations: 29.34 kB / 0.7802 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.665e-05/1.093, allocations: 32.59 kB / 0.7803 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004197/1.097, allocations: 1.198 MB / 0.7814 GB, free: 16.07 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.007247/1.105, allocations: 3.217 MB / 0.7846 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/1.106, allocations: 0.6864 MB / 0.7853 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000701/1.107, allocations: 426.6 kB / 0.7857 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009907/1.108, allocations: 1.023 MB / 0.7867 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/1.109, allocations: 0.5113 MB / 0.7872 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 3.266e-06/1.109, allocations: 1.125 kB / 0.7872 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.002961/1.112, allocations: 1.219 MB / 0.7883 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.443e-05/1.112, allocations: 145.5 kB / 0.7885 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/1.114, allocations: 1.202 MB / 0.7897 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001484/1.114, allocations: 43.48 kB / 0.7897 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000397/1.115, allocations: 436 kB / 0.7901 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/1.115, allocations: 185.5 kB / 0.7903 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003191/1.115, allocations: 147.2 kB / 0.7904 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.116, allocations: 332.4 kB / 0.7908 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/1.117, allocations: 456 kB / 0.7912 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/1.118, allocations: 0.6241 MB / 0.7918 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/1.12, allocations: 0.9517 MB / 0.7927 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.12, allocations: 0 / 0.7927 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003069/1.123, allocations: 1.233 MB / 0.7939 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.999e-05/1.123, allocations: 38.97 kB / 0.794 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.123, allocations: 8.266 kB / 0.794 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/1.123, allocations: 4.906 kB / 0.794 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009283/1.124, allocations: 203 kB / 0.7942 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/1.124, allocations: 5.5 kB / 0.7942 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/1.126, allocations: 266.8 kB / 0.7944 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/1.126, allocations: 39.05 kB / 0.7945 GB, free: 12.22 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.0006113/1.127, allocations: 333.3 kB / 0.7948 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003296/1.127, allocations: 115.2 kB / 0.7949 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/1.129, allocations: 0.9994 MB / 0.7959 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/1.129, allocations: 9.531 kB / 0.7959 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/1.129, allocations: 0 / 0.7959 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/1.129, allocations: 6.344 kB / 0.7959 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005003/1.134, allocations: 3.158 MB / 0.799 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/1.134, allocations: 12.66 kB / 0.799 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005725/1.135, allocations: 118 kB / 0.7991 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.516e-05/1.135, allocations: 18.11 kB / 0.7991 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.944e-05/1.135, allocations: 23.84 kB / 0.7991 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.127e-05/1.135, allocations: 14.38 kB / 0.7992 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.443e-06/1.135, allocations: 12.92 kB / 0.7992 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/1.137, allocations: 1.339 MB / 0.8005 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007194/1.138, allocations: 329.5 kB / 0.8008 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/1.138, allocations: 20.44 kB / 0.8008 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/1.14, allocations: 111.6 kB / 0.8009 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/1.14, allocations: 61.47 kB / 0.801 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/1.14, allocations: 42.27 kB / 0.801 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001751/1.142, allocations: 0.871 MB / 0.8019 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.41e-07/1.142, allocations: 0 / 0.8019 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001515/1.143, allocations: 296.8 kB / 0.8021 GB, free: 10.21 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.0008857/1.144, allocations: 345.5 kB / 0.8025 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002519/1.147, allocations: 1.048 MB / 0.8035 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.147, allocations: 4.109 kB / 0.8035 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009718/1.148, allocations: 0.5123 MB / 0.804 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/1.151, allocations: 0.5552 MB / 0.8045 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004157/1.155, allocations: 2.39 MB / 0.8069 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008101/1.156, allocations: 1.065 MB / 0.8079 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/1.156, allocations: 91.41 kB / 0.808 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of SimCode: time 1.734e-06/1.156, allocations: 0 / 0.808 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of Templates: time 0.03449/1.191, allocations: 18.72 MB / 0.8263 GB, free: 11.35 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)