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.001207/0.001207, allocations: 108 kB / 15.61 MB, free: 152 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.001177/0.001177, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.378/1.378, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.019/1.019, allocations: 143 MB / 433.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 59.91 kB / 0.5143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2098, allocations: 82.05 MB / 0.5944 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5669/0.7768, allocations: 194.1 MB / 0.7839 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01965/0.7965, allocations: 6.944 MB / 0.7907 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002555/0.799, allocations: 43.69 kB / 0.7907 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003581/0.8027, allocations: 0.6908 MB / 0.7914 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01139/0.8141, allocations: 2.338 MB / 0.7937 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006481/0.8206, allocations: 1.408 MB / 0.7951 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006777/0.8274, allocations: 2.986 MB / 0.798 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002489/0.8299, allocations: 0.886 MB / 0.7988 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004635/0.8346, allocations: 1.14 MB / 0.8 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002604/0.8372, allocations: 0.7955 MB / 0.8007 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005429/0.8378, allocations: 104 kB / 0.8008 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008621/0.8464, allocations: 2.042 MB / 0.8028 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009929/0.8475, allocations: 378.8 kB / 0.8032 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001825/0.8493, allocations: 0.5792 MB / 0.8038 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00723/0.8566, allocations: 2.47 MB / 0.8062 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.8566, allocations: 3.938 kB / 0.8062 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8566, allocations: 0 / 0.8062 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.843e-05/0.8567, allocations: 0 / 0.8062 GB, free: 4.289 MB / 0.6231 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.006715/0.8634, allocations: 1.634 MB / 0.8078 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.8635, allocations: 12.03 kB / 0.8078 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003208/0.8638, allocations: 114.4 kB / 0.8079 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005567/0.8694, allocations: 0.5331 MB / 0.8084 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004046/0.8735, allocations: 0.9883 MB / 0.8094 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001734/0.8752, allocations: 281 kB / 0.8096 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002454/0.8755, allocations: 68 kB / 0.8097 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004193/0.8797, allocations: 1.12 MB / 0.8108 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.8798, allocations: 3.938 kB / 0.8108 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.8799, allocations: 28 kB / 0.8108 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.855e-05/0.88, allocations: 33.31 kB / 0.8109 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005542/0.8856, allocations: 1.2 MB / 0.812 GB, free: 14.14 MB / 0.6387 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.009377/0.895, allocations: 3.217 MB / 0.8152 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/0.8974, allocations: 0.6958 MB / 0.8159 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.8986, allocations: 418.2 kB / 0.8163 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/0.8999, allocations: 1.025 MB / 0.8173 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001546/0.9014, allocations: 0.5182 MB / 0.8178 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=57): time 5.851e-06/0.9015, allocations: 0 / 0.8178 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57): time 0.004479/0.906, allocations: 1.213 MB / 0.8189 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.9061, allocations: 144.8 kB / 0.8191 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002895/0.909, allocations: 1.2 MB / 0.8203 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.9092, allocations: 37.7 kB / 0.8203 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005366/0.9097, allocations: 441.5 kB / 0.8207 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.91, allocations: 193.2 kB / 0.8209 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003804/0.9104, allocations: 142 kB / 0.821 GB, free: 4.516 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.9106, allocations: 334 kB / 0.8214 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/0.9125, allocations: 460.9 kB / 0.8218 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/0.9147, allocations: 0.6094 MB / 0.8224 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003167/0.9179, allocations: 0.9418 MB / 0.8233 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.9179, allocations: 5 kB / 0.8233 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004898/0.9228, allocations: 1.236 MB / 0.8245 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.627e-05/0.9229, allocations: 33.7 kB / 0.8246 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.9229, allocations: 4 kB / 0.8246 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.923, allocations: 4 kB / 0.8246 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.9243, allocations: 207.9 kB / 0.8248 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.9243, allocations: 7.594 kB / 0.8248 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/0.9265, allocations: 278.8 kB / 0.825 GB, free: 304 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.9267, allocations: 35.92 kB / 0.8251 GB, free: 268 kB / 0.6387 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.0005298/0.9272, allocations: 333.4 kB / 0.8254 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/0.9274, allocations: 118.6 kB / 0.8255 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.9296, allocations: 0.9956 MB / 0.8265 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.9296, allocations: 8.453 kB / 0.8265 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.9296, allocations: 8 kB / 0.8265 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.9296, allocations: 3.984 kB / 0.8265 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004772/0.9344, allocations: 3.159 MB / 0.8296 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.9344, allocations: 11.98 kB / 0.8296 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/0.935, allocations: 124.3 kB / 0.8297 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.9351, allocations: 8 kB / 0.8297 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.895e-05/0.9351, allocations: 27.98 kB / 0.8297 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.228e-05/0.9352, allocations: 11.94 kB / 0.8297 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.355e-06/0.9352, allocations: 11.94 kB / 0.8298 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.9374, allocations: 1.347 MB / 0.8311 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005492/0.938, allocations: 327.4 kB / 0.8314 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.9382, allocations: 23.98 kB / 0.8314 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.9393, allocations: 111.9 kB / 0.8315 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.9395, allocations: 59.75 kB / 0.8316 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.271e-05/0.9395, allocations: 39.97 kB / 0.8316 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001685/0.9412, allocations: 0.8677 MB / 0.8325 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9412, allocations: 0 / 0.8325 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001399/0.9427, allocations: 299.8 kB / 0.8327 GB, free: 8.074 MB / 0.6544 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.00363/0.9463, allocations: 2.13 MB / 0.8348 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002726/0.949, allocations: 1.052 MB / 0.8359 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.9491, allocations: 0 / 0.8359 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009491/0.95, allocations: 0.5086 MB / 0.8364 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003016/0.953, allocations: 0.5586 MB / 0.8369 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/0.971, allocations: 9.993 MB / 0.8467 GB, free: 9.199 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007813/0.9718, allocations: 1.073 MB / 0.8477 GB, free: 8.098 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001286/0.9731, allocations: 276 kB / 0.848 GB, free: 7.832 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005892/0.9737, allocations: 359.3 kB / 0.8483 GB, free: 7.48 MB / 0.67 GB Notification: Performance of SimCode: time 7.81e-07/0.9737, allocations: 4 kB / 0.8483 GB, free: 7.477 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2969/1.271, allocations: 31.72 MB / 0.8793 GB, free: 210 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.206/9.477, allocations: 5.234 kB / 0.8793 GB, free: 210 MB / 0.67 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)