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/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",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.005257/0.005257, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001115/0.001115, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9563/0.9563, allocations: 143 MB / 433.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 67.89 kB / 0.5951 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3924, allocations: 82.03 MB / 0.6752 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1991/0.5915, allocations: 194.1 MB / 0.8647 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.4202/1.012, allocations: 6.927 MB / 0.8715 GB, free: 2.055 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/1.013, allocations: 43.72 kB / 0.8715 GB, free: 2.055 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001806/1.015, allocations: 0.6993 MB / 0.8722 GB, free: 2.055 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0063/1.022, allocations: 2.444 MB / 0.8746 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003738/1.025, allocations: 1.438 MB / 0.876 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005087/1.03, allocations: 3.003 MB / 0.8789 GB, free: 1.918 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/1.032, allocations: 0.8807 MB / 0.8798 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003546/1.036, allocations: 1.166 MB / 0.8809 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002733/1.038, allocations: 0.7993 MB / 0.8817 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005061/1.039, allocations: 99.34 kB / 0.8818 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005895/1.045, allocations: 2.075 MB / 0.8838 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007796/1.046, allocations: 363.6 kB / 0.8842 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001311/1.047, allocations: 0.5848 MB / 0.8847 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005698/1.053, allocations: 2.516 MB / 0.8872 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.053, allocations: 0.9688 kB / 0.8872 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.304e-06/1.053, allocations: 0 / 0.8872 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.164e-05/1.053, allocations: 2.203 kB / 0.8872 GB, free: 1.656 MB / 0.6856 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.004057/1.057, allocations: 1.683 MB / 0.8888 GB, free: 16.75 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/1.057, allocations: 10.12 kB / 0.8888 GB, free: 16.75 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000147/1.057, allocations: 108.1 kB / 0.889 GB, free: 16.71 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003074/1.06, allocations: 0.539 MB / 0.8895 GB, free: 16.64 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002339/1.062, allocations: 1.05 MB / 0.8905 GB, free: 16.3 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.18e-05/1.062, allocations: 60.95 kB / 0.8906 GB, free: 16.3 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/1.063, allocations: 67.81 kB / 0.8906 GB, free: 16.3 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002408/1.065, allocations: 1.106 MB / 0.8917 GB, free: 16.19 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/1.065, allocations: 4.781 kB / 0.8917 GB, free: 16.19 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.422e-05/1.065, allocations: 25.81 kB / 0.8917 GB, free: 16.19 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/1.065, allocations: 34.16 kB / 0.8918 GB, free: 16.19 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/1.068, allocations: 1.161 MB / 0.8929 GB, free: 16.18 MB / 0.7012 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.005616/1.074, allocations: 3.176 MB / 0.896 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/1.075, allocations: 0.6987 MB / 0.8967 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007102/1.076, allocations: 423.2 kB / 0.8971 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009752/1.077, allocations: 1.023 MB / 0.8981 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009196/1.078, allocations: 0.5187 MB / 0.8986 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 1.983e-06/1.078, allocations: 0.9375 kB / 0.8986 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.002819/1.081, allocations: 1.226 MB / 0.8998 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.049e-05/1.081, allocations: 138.1 kB / 0.8999 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/1.083, allocations: 1.183 MB / 0.9011 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.654e-05/1.083, allocations: 37.61 kB / 0.9011 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/1.083, allocations: 446 kB / 0.9015 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/1.083, allocations: 189.6 kB / 0.9017 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/1.083, allocations: 147.9 kB / 0.9019 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.084, allocations: 337 kB / 0.9022 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/1.085, allocations: 438.8 kB / 0.9026 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/1.086, allocations: 0.5932 MB / 0.9032 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/1.088, allocations: 0.9272 MB / 0.9041 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.088, allocations: 3.406 kB / 0.9041 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002951/1.091, allocations: 1.198 MB / 0.9053 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/1.091, allocations: 40.2 kB / 0.9053 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.091, allocations: 5.062 kB / 0.9053 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/1.091, allocations: 6.094 kB / 0.9053 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008952/1.092, allocations: 193.2 kB / 0.9055 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/1.092, allocations: 8.375 kB / 0.9055 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/1.094, allocations: 243.9 kB / 0.9057 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.638e-05/1.094, allocations: 36.58 kB / 0.9058 GB, free: 12.37 MB / 0.7012 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.0005216/1.094, allocations: 336.1 kB / 0.9061 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/1.094, allocations: 120.9 kB / 0.9062 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/1.096, allocations: 0.9941 MB / 0.9072 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/1.096, allocations: 6.547 kB / 0.9072 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/1.096, allocations: 6.219 kB / 0.9072 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.096, allocations: 6.938 kB / 0.9072 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004412/1.101, allocations: 3.16 MB / 0.9103 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/1.101, allocations: 11.61 kB / 0.9103 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005617/1.101, allocations: 120.4 kB / 0.9104 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/1.101, allocations: 18.5 kB / 0.9104 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.123e-05/1.102, allocations: 23.34 kB / 0.9104 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.358e-06/1.102, allocations: 13.75 kB / 0.9105 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.102, allocations: 12.78 kB / 0.9105 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/1.104, allocations: 1.35 MB / 0.9118 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005962/1.104, allocations: 346.9 kB / 0.9121 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/1.105, allocations: 20.31 kB / 0.9121 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/1.106, allocations: 101.9 kB / 0.9122 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/1.106, allocations: 55.52 kB / 0.9123 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.189e-05/1.106, allocations: 41.62 kB / 0.9123 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001391/1.107, allocations: 0.8488 MB / 0.9132 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/1.107, allocations: 0 / 0.9132 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001245/1.108, allocations: 302.3 kB / 0.9134 GB, free: 10.39 MB / 0.7012 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.003351/1.112, allocations: 2.123 MB / 0.9155 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002316/1.114, allocations: 1.026 MB / 0.9165 GB, free: 9.141 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.114, allocations: 3.406 kB / 0.9165 GB, free: 9.141 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008639/1.115, allocations: 0.5048 MB / 0.917 GB, free: 9.074 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002795/1.118, allocations: 0.5509 MB / 0.9176 GB, free: 8.973 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01678/1.135, allocations: 9.422 MB / 0.9268 GB, free: 6.109 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007593/1.135, allocations: 1.07 MB / 0.9278 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001116/1.137, allocations: 274.1 kB / 0.9281 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004652/1.137, allocations: 358.2 kB / 0.9284 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of SimCode: time 1.222e-06/1.137, allocations: 6.938 kB / 0.9284 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05778/1.195, allocations: 31.95 MB / 0.9596 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.524/10.72, allocations: 19.05 kB / 0.9596 GB, free: 13.94 MB / 0.7325 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)