Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",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.01079/0.01079, allocations: 99.53 kB / 15.73 MB, free: 6.496 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.002446/0.002447, allocations: 195.9 kB / 16.68 MB, free: 6.375 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.557/1.557, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.142/1.142, allocations: 143.3 MB / 433.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 63.91 kB / 0.5953 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5072/0.5093, allocations: 82.03 MB / 0.6754 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2568/0.7661, allocations: 193.9 MB / 0.8648 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.5482/1.314, allocations: 5.14 MB / 0.8698 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002141/1.317, allocations: 50.28 kB / 0.8699 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002761/1.319, allocations: 0.8109 MB / 0.8707 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009685/1.329, allocations: 2.601 MB / 0.8732 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003855/1.333, allocations: 1.112 MB / 0.8743 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005665/1.339, allocations: 2.677 MB / 0.8769 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002343/1.341, allocations: 0.946 MB / 0.8778 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0037/1.345, allocations: 1.104 MB / 0.8789 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002905/1.348, allocations: 0.9876 MB / 0.8799 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005158/1.348, allocations: 87.38 kB / 0.88 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005452/1.354, allocations: 1.788 MB / 0.8817 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001077/1.355, allocations: 457 kB / 0.8822 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001826/1.357, allocations: 0.6612 MB / 0.8828 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005828/1.363, allocations: 2.279 MB / 0.885 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/1.363, allocations: 2.219 kB / 0.885 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.394e-06/1.363, allocations: 0 / 0.885 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.149e-05/1.363, allocations: 0 / 0.885 GB, free: 1.52 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006342/1.369, allocations: 2.016 MB / 0.887 GB, free: 16.53 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/1.369, allocations: 10 kB / 0.887 GB, free: 16.53 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00021/1.369, allocations: 137.9 kB / 0.8871 GB, free: 16.49 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006067/1.375, allocations: 0.9073 MB / 0.888 GB, free: 16.4 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/1.378, allocations: 0.9769 MB / 0.889 GB, free: 16.01 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.448e-05/1.378, allocations: 71.31 kB / 0.889 GB, free: 16.01 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002459/1.378, allocations: 95.2 kB / 0.8891 GB, free: 16 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004004/1.382, allocations: 1.584 MB / 0.8907 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/1.382, allocations: 6.5 kB / 0.8907 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/1.382, allocations: 37.06 kB / 0.8907 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.558e-05/1.383, allocations: 46.78 kB / 0.8908 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005316/1.388, allocations: 1.847 MB / 0.8926 GB, free: 15.87 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.009392/1.397, allocations: 4.752 MB / 0.8972 GB, free: 14 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004678/1.402, allocations: 1.561 MB / 0.8987 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002562/1.405, allocations: 0.8518 MB / 0.8996 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001555/1.406, allocations: 0.9411 MB / 0.9005 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002836/1.409, allocations: 0.9164 MB / 0.9014 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=95): time 5.15e-06/1.409, allocations: 0 / 0.9014 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95): time 0.008715/1.418, allocations: 2.463 MB / 0.9038 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.891e-05/1.418, allocations: 64.12 kB / 0.9039 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/1.42, allocations: 1.2 MB / 0.905 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002915/1.42, allocations: 49.48 kB / 0.9051 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005104/1.421, allocations: 0.5464 MB / 0.9056 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005263/1.421, allocations: 341.8 kB / 0.9059 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004823/1.422, allocations: 190.8 kB / 0.9061 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000173/1.422, allocations: 344.7 kB / 0.9064 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002349/1.424, allocations: 0.6967 MB / 0.9071 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00254/1.427, allocations: 0.9121 MB / 0.908 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005034/1.432, allocations: 1.553 MB / 0.9095 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.156e-05/1.432, allocations: 2.594 kB / 0.9095 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.009269/1.441, allocations: 1.79 MB / 0.9113 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.097e-05/1.441, allocations: 5.062 kB / 0.9113 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/1.442, allocations: 5.5 kB / 0.9113 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.447e-05/1.442, allocations: 11.91 kB / 0.9113 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/1.444, allocations: 336.5 kB / 0.9116 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.95e-05/1.444, allocations: 11.61 kB / 0.9116 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/1.447, allocations: 238 kB / 0.9119 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003868/1.447, allocations: 55.19 kB / 0.9119 GB, free: 11.2 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * 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.001497/1.449, allocations: 326.9 kB / 0.9122 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008551/1.449, allocations: 147.3 kB / 0.9124 GB, free: 11 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009133/1.459, allocations: 1.806 MB / 0.9141 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/1.459, allocations: 9.688 kB / 0.9141 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/1.459, allocations: 3.281 kB / 0.9141 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.9e-05/1.459, allocations: 3.562 kB / 0.9141 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/1.471, allocations: 3.324 MB / 0.9174 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/1.471, allocations: 10.38 kB / 0.9174 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/1.473, allocations: 293.3 kB / 0.9177 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.692e-05/1.473, allocations: 8.125 kB / 0.9177 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/1.473, allocations: 38.95 kB / 0.9177 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.679e-05/1.473, allocations: 13.94 kB / 0.9177 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.473, allocations: 3.219 kB / 0.9177 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/1.484, allocations: 2.848 MB / 0.9205 GB, free: 9.898 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/1.485, allocations: 337.5 kB / 0.9208 GB, free: 9.711 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006383/1.486, allocations: 25.44 kB / 0.9209 GB, free: 9.711 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002488/1.488, allocations: 151.2 kB / 0.921 GB, free: 9.703 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00033/1.489, allocations: 74.62 kB / 0.9211 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002112/1.489, allocations: 42.12 kB / 0.9211 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00239/1.491, allocations: 0.8306 MB / 0.9219 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of sort global known variables: time 4.81e-07/1.491, allocations: 0 / 0.9219 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002682/1.494, allocations: 343.9 kB / 0.9223 GB, free: 9.562 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.01532/1.509, allocations: 3.841 MB / 0.926 GB, free: 8.484 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007232/1.517, allocations: 1.643 MB / 0.9276 GB, free: 8.422 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/1.517, allocations: 0 / 0.9276 GB, free: 8.422 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003726/1.52, allocations: 0.8395 MB / 0.9284 GB, free: 8.234 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005347/1.526, allocations: 0.6154 MB / 0.929 GB, free: 7.988 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04393/1.57, allocations: 12.08 MB / 0.9408 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001648/1.571, allocations: 1.183 MB / 0.942 GB, free: 52 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.003097/1.575, allocations: 366 kB / 0.9423 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001901/1.577, allocations: 0.5055 MB / 0.9428 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of SimCode: time 2.244e-06/1.577, allocations: 0 / 0.9428 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08821/1.665, allocations: 35.74 MB / 0.9777 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/12.53, allocations: 10.39 kB / 0.9778 GB, free: 12.38 MB / 0.7481 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)