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/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.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.005606/0.005606, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.001234/0.001234, allocations: 198.6 kB / 16.68 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.035/1.035, allocations: 143 MB / 433.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.91 kB / 0.5951 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4283, allocations: 82.03 MB / 0.6752 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.209/0.6373, allocations: 193.9 MB / 0.8646 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.4671/1.105, allocations: 5.149 MB / 0.8696 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/1.106, allocations: 46.84 kB / 0.8696 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00243/1.109, allocations: 0.8274 MB / 0.8705 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008196/1.117, allocations: 2.696 MB / 0.8731 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003173/1.12, allocations: 1.11 MB / 0.8742 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004732/1.125, allocations: 2.691 MB / 0.8768 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002071/1.127, allocations: 0.9403 MB / 0.8777 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003134/1.13, allocations: 1.139 MB / 0.8788 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002157/1.132, allocations: 0.9948 MB / 0.8798 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003419/1.133, allocations: 86.44 kB / 0.8799 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004804/1.138, allocations: 1.804 MB / 0.8816 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007343/1.138, allocations: 450.5 kB / 0.8821 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001341/1.14, allocations: 0.6673 MB / 0.8827 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005919/1.146, allocations: 2.276 MB / 0.885 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.146, allocations: 2.25 kB / 0.885 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.194e-06/1.146, allocations: 0.9375 kB / 0.885 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.391e-05/1.146, allocations: 0 / 0.885 GB, free: 1.543 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.006247/1.152, allocations: 2.015 MB / 0.8869 GB, free: 16.55 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/1.152, allocations: 10.47 kB / 0.8869 GB, free: 16.55 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000209/1.152, allocations: 137.7 kB / 0.8871 GB, free: 16.51 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005973/1.158, allocations: 0.905 MB / 0.8879 GB, free: 16.43 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/1.161, allocations: 0.9816 MB / 0.8889 GB, free: 16.03 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.511e-05/1.161, allocations: 76.89 kB / 0.889 GB, free: 16.03 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002099/1.161, allocations: 93.45 kB / 0.8891 GB, free: 16.02 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003676/1.165, allocations: 1.586 MB / 0.8906 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/1.165, allocations: 0 / 0.8906 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/1.165, allocations: 36.75 kB / 0.8907 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.155e-05/1.165, allocations: 46.86 kB / 0.8907 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004844/1.17, allocations: 1.846 MB / 0.8925 GB, free: 15.89 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.007795/1.177, allocations: 4.749 MB / 0.8971 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004235/1.182, allocations: 1.56 MB / 0.8987 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002152/1.184, allocations: 0.8495 MB / 0.8995 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001321/1.185, allocations: 0.9451 MB / 0.9004 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002402/1.188, allocations: 0.9183 MB / 0.9013 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=95): time 6.462e-06/1.188, allocations: 0 / 0.9013 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95): time 0.007786/1.195, allocations: 2.462 MB / 0.9037 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/1.196, allocations: 62.16 kB / 0.9038 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/1.197, allocations: 1.197 MB / 0.9049 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/1.197, allocations: 50.36 kB / 0.905 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004228/1.198, allocations: 0.5488 MB / 0.9055 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003493/1.198, allocations: 342.9 kB / 0.9059 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003661/1.198, allocations: 189.4 kB / 0.906 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.198, allocations: 345.5 kB / 0.9064 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002089/1.201, allocations: 0.6967 MB / 0.907 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002237/1.203, allocations: 0.9103 MB / 0.9079 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004174/1.207, allocations: 1.553 MB / 0.9095 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/1.207, allocations: 2.469 kB / 0.9095 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005212/1.212, allocations: 1.789 MB / 0.9112 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/1.212, allocations: 6.875 kB / 0.9112 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/1.212, allocations: 3.594 kB / 0.9112 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/1.212, allocations: 10.12 kB / 0.9112 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/1.214, allocations: 339.6 kB / 0.9115 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.023e-05/1.214, allocations: 13.25 kB / 0.9116 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/1.216, allocations: 241.6 kB / 0.9118 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/1.216, allocations: 45.75 kB / 0.9118 GB, free: 11.23 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.0006974/1.217, allocations: 342.9 kB / 0.9122 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003824/1.217, allocations: 147.5 kB / 0.9123 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005068/1.222, allocations: 1.804 MB / 0.9141 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/1.222, allocations: 8.406 kB / 0.9141 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/1.222, allocations: 2.094 kB / 0.9141 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/1.222, allocations: 4.781 kB / 0.9141 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008043/1.23, allocations: 3.33 MB / 0.9173 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/1.23, allocations: 11 kB / 0.9173 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/1.232, allocations: 292 kB / 0.9176 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.848e-05/1.232, allocations: 6.594 kB / 0.9176 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/1.232, allocations: 32.17 kB / 0.9177 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.178e-05/1.232, allocations: 7.344 kB / 0.9177 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.232, allocations: 8.969 kB / 0.9177 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007832/1.24, allocations: 2.849 MB / 0.9204 GB, free: 9.918 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.241, allocations: 337.8 kB / 0.9208 GB, free: 9.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004671/1.242, allocations: 30.02 kB / 0.9208 GB, free: 9.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/1.243, allocations: 152.7 kB / 0.9209 GB, free: 9.723 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/1.244, allocations: 74.14 kB / 0.921 GB, free: 9.715 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.671e-05/1.244, allocations: 40.69 kB / 0.9211 GB, free: 9.715 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001512/1.245, allocations: 0.8314 MB / 0.9219 GB, free: 9.605 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3e-07/1.245, allocations: 0 / 0.9219 GB, free: 9.605 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001753/1.247, allocations: 342.1 kB / 0.9222 GB, free: 9.582 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.01013/1.257, allocations: 3.834 MB / 0.9259 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005085/1.262, allocations: 1.632 MB / 0.9275 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/1.262, allocations: 6.844 kB / 0.9275 GB, free: 8.441 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00258/1.265, allocations: 0.8319 MB / 0.9283 GB, free: 8.277 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003741/1.269, allocations: 0.6091 MB / 0.9289 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02538/1.294, allocations: 12.1 MB / 0.9408 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009697/1.295, allocations: 1.186 MB / 0.9419 GB, free: 88 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001654/1.297, allocations: 358 kB / 0.9423 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008946/1.298, allocations: 0.5008 MB / 0.9427 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of SimCode: time 1.944e-06/1.298, allocations: 0 / 0.9427 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07596/1.374, allocations: 35.75 MB / 0.9777 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/11.68, allocations: 18.09 kB / 0.9777 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)