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.004817/0.004817, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001094/0.001094, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.312 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 1.001/1.001, allocations: 143 MB / 433.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.89 kB / 0.5951 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4058, allocations: 82.03 MB / 0.6752 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2023/0.6082, allocations: 194.1 MB / 0.8647 GB, free: 3.66 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.4476/1.056, allocations: 6.925 MB / 0.8715 GB, free: 2.004 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/1.057, allocations: 45.12 kB / 0.8715 GB, free: 2.004 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001615/1.059, allocations: 0.6886 MB / 0.8722 GB, free: 2.004 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005748/1.065, allocations: 2.339 MB / 0.8745 GB, free: 1.926 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003394/1.068, allocations: 1.433 MB / 0.8759 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004596/1.073, allocations: 2.992 MB / 0.8788 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/1.074, allocations: 0.8939 MB / 0.8797 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003211/1.078, allocations: 1.146 MB / 0.8808 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/1.079, allocations: 0.7998 MB / 0.8816 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002858/1.08, allocations: 99.28 kB / 0.8816 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00495/1.085, allocations: 2.058 MB / 0.8837 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004741/1.085, allocations: 368.7 kB / 0.884 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008752/1.086, allocations: 0.5838 MB / 0.8846 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004413/1.09, allocations: 2.502 MB / 0.887 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/1.091, allocations: 0.8125 kB / 0.887 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.495e-06/1.091, allocations: 3.328 kB / 0.887 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.806e-05/1.091, allocations: 1.094 kB / 0.887 GB, free: 1.625 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.003704/1.094, allocations: 1.634 MB / 0.8886 GB, free: 16.76 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.094, allocations: 13.69 kB / 0.8886 GB, free: 16.76 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/1.094, allocations: 114.7 kB / 0.8887 GB, free: 16.72 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002913/1.097, allocations: 0.5331 MB / 0.8893 GB, free: 16.66 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/1.1, allocations: 1.05 MB / 0.8903 GB, free: 16.31 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.273e-05/1.1, allocations: 52.75 kB / 0.8903 GB, free: 16.31 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/1.1, allocations: 72.03 kB / 0.8904 GB, free: 16.31 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/1.102, allocations: 1.104 MB / 0.8915 GB, free: 16.21 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/1.102, allocations: 0.8438 kB / 0.8915 GB, free: 16.21 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-05/1.102, allocations: 30.41 kB / 0.8915 GB, free: 16.21 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.051e-05/1.102, allocations: 32.73 kB / 0.8915 GB, free: 16.2 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00264/1.105, allocations: 1.162 MB / 0.8927 GB, free: 16.2 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.005675/1.111, allocations: 3.176 MB / 0.8958 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/1.112, allocations: 0.686 MB / 0.8965 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006798/1.113, allocations: 426.5 kB / 0.8969 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/1.114, allocations: 1.024 MB / 0.8979 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009123/1.115, allocations: 0.5134 MB / 0.8984 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 2.585e-06/1.115, allocations: 0 / 0.8984 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.00261/1.118, allocations: 1.223 MB / 0.8996 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.762e-05/1.118, allocations: 139.9 kB / 0.8997 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/1.119, allocations: 1.175 MB / 0.9008 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.683e-05/1.119, allocations: 37.89 kB / 0.9009 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/1.12, allocations: 438.8 kB / 0.9013 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/1.12, allocations: 193.5 kB / 0.9015 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/1.12, allocations: 143.2 kB / 0.9016 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.12, allocations: 335 kB / 0.9019 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/1.121, allocations: 438.8 kB / 0.9024 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/1.122, allocations: 0.5957 MB / 0.9029 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/1.124, allocations: 0.9258 MB / 0.9038 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.124, allocations: 3.188 kB / 0.9038 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002526/1.127, allocations: 1.196 MB / 0.905 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.08e-05/1.127, allocations: 37.62 kB / 0.905 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.127, allocations: 6.578 kB / 0.9051 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.127, allocations: 9.703 kB / 0.9051 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008363/1.127, allocations: 189.2 kB / 0.9052 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/1.127, allocations: 11.19 kB / 0.9053 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/1.129, allocations: 240.3 kB / 0.9055 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-05/1.129, allocations: 42.95 kB / 0.9055 GB, free: 12.42 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.0004198/1.129, allocations: 333.5 kB / 0.9058 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/1.13, allocations: 117.4 kB / 0.906 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/1.131, allocations: 0.9914 MB / 0.9069 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/1.131, allocations: 11.12 kB / 0.9069 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/1.131, allocations: 0 / 0.9069 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/1.131, allocations: 3.516 kB / 0.9069 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003886/1.135, allocations: 3.158 MB / 0.91 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/1.135, allocations: 10.78 kB / 0.91 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005284/1.136, allocations: 120.1 kB / 0.9101 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/1.136, allocations: 15.91 kB / 0.9102 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/1.136, allocations: 25.56 kB / 0.9102 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/1.136, allocations: 15.08 kB / 0.9102 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/1.136, allocations: 11.25 kB / 0.9102 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/1.138, allocations: 1.343 MB / 0.9115 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004131/1.138, allocations: 334.2 kB / 0.9118 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/1.138, allocations: 23.41 kB / 0.9119 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/1.139, allocations: 97.73 kB / 0.912 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/1.139, allocations: 56.62 kB / 0.912 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-05/1.139, allocations: 41.95 kB / 0.912 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001158/1.141, allocations: 0.8509 MB / 0.9129 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.8e-07/1.141, allocations: 3.094 kB / 0.9129 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000966/1.142, allocations: 304.9 kB / 0.9132 GB, free: 10.46 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.002597/1.144, allocations: 2.112 MB / 0.9152 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001933/1.146, allocations: 1.033 MB / 0.9162 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.146, allocations: 0 / 0.9162 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007469/1.147, allocations: 0.5113 MB / 0.9167 GB, free: 9.148 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/1.149, allocations: 0.5449 MB / 0.9173 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/1.163, allocations: 9.392 MB / 0.9264 GB, free: 6.223 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006444/1.164, allocations: 1.067 MB / 0.9275 GB, free: 5.508 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001034/1.165, allocations: 272.6 kB / 0.9277 GB, free: 5.449 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004938/1.165, allocations: 361.3 kB / 0.9281 GB, free: 5.441 MB / 0.7012 GB Notification: Performance of SimCode: time 7.71e-07/1.165, allocations: 0 / 0.9281 GB, free: 5.441 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05938/1.225, allocations: 32.42 MB / 0.9598 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.787/11.01, allocations: 7.797 kB / 0.9598 GB, free: 13.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)