Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_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.006679/0.006679, allocations: 101 kB / 15.73 MB, free: 6.059 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.001421/0.001421, allocations: 194.2 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002471/0.002471, allocations: 290.1 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9811/0.9811, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002603/0.002603, allocations: 99.84 kB / 0.681 GB, free: 7.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.4549, allocations: 86.99 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2206/0.6755, allocations: 193.8 MB / 0.9552 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.455/1.131, allocations: 5.141 MB / 0.9602 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/1.132, allocations: 50.06 kB / 0.9603 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002079/1.134, allocations: 0.8139 MB / 0.9611 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006514/1.141, allocations: 2.603 MB / 0.9636 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003179/1.144, allocations: 1.111 MB / 0.9647 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003814/1.148, allocations: 2.681 MB / 0.9673 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001736/1.15, allocations: 0.9419 MB / 0.9682 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/1.152, allocations: 1.105 MB / 0.9693 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/1.154, allocations: 0.9822 MB / 0.9703 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001945/1.154, allocations: 86.66 kB / 0.9704 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003405/1.158, allocations: 1.799 MB / 0.9721 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004936/1.158, allocations: 453.3 kB / 0.9725 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008821/1.159, allocations: 0.6638 MB / 0.9732 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003767/1.163, allocations: 2.232 MB / 0.9754 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.163, allocations: 1.031 kB / 0.9754 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/1.163, allocations: 0 / 0.9754 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.326e-05/1.163, allocations: 1.203 kB / 0.9754 GB, free: 1.465 MB / 0.7169 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.004781/1.168, allocations: 2.016 MB / 0.9773 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/1.168, allocations: 10.44 kB / 0.9774 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/1.168, allocations: 141 kB / 0.9775 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005143/1.173, allocations: 0.9026 MB / 0.9784 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/1.175, allocations: 0.9809 MB / 0.9793 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.407e-05/1.175, allocations: 73.31 kB / 0.9794 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/1.175, allocations: 96.89 kB / 0.9795 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003771/1.179, allocations: 1.586 MB / 0.981 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/1.179, allocations: 0.9375 kB / 0.981 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/1.179, allocations: 38.83 kB / 0.9811 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/1.179, allocations: 45.14 kB / 0.9811 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004969/1.184, allocations: 1.851 MB / 0.9829 GB, free: 15.81 MB / 0.7325 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.007067/1.191, allocations: 4.726 MB / 0.9875 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004069/1.195, allocations: 1.563 MB / 0.9891 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002143/1.197, allocations: 0.8539 MB / 0.9899 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/1.199, allocations: 0.9436 MB / 0.9908 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002376/1.201, allocations: 0.9117 MB / 0.9917 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 4.218e-06/1.201, allocations: 0 / 0.9917 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.007273/1.209, allocations: 2.459 MB / 0.9941 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/1.209, allocations: 63.03 kB / 0.9942 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/1.21, allocations: 1.198 MB / 0.9953 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/1.21, allocations: 47.62 kB / 0.9954 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/1.21, allocations: 0.5561 MB / 0.9959 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003205/1.211, allocations: 337.8 kB / 0.9963 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003161/1.211, allocations: 189.8 kB / 0.9964 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.211, allocations: 344.8 kB / 0.9968 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002051/1.213, allocations: 0.7029 MB / 0.9974 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002189/1.216, allocations: 0.9005 MB / 0.9983 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004075/1.22, allocations: 1.559 MB / 0.9999 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/1.22, allocations: 0 / 0.9999 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004772/1.224, allocations: 1.783 MB / 1.002 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/1.224, allocations: 8.906 kB / 1.002 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.224, allocations: 6.562 kB / 1.002 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/1.225, allocations: 8.469 kB / 1.002 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/1.226, allocations: 345 kB / 1.002 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/1.226, allocations: 8.844 kB / 1.002 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/1.228, allocations: 244.3 kB / 1.002 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/1.228, allocations: 48.72 kB / 1.002 GB, free: 11.14 MB / 0.7325 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.0005726/1.229, allocations: 330 kB / 1.003 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000272/1.229, allocations: 143.8 kB / 1.003 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004828/1.234, allocations: 1.813 MB / 1.004 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/1.234, allocations: 10.83 kB / 1.004 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/1.234, allocations: 10.53 kB / 1.004 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/1.234, allocations: 4.594 kB / 1.004 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007155/1.241, allocations: 3.323 MB / 1.008 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/1.241, allocations: 2.094 kB / 1.008 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/1.242, allocations: 298 kB / 1.008 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/1.243, allocations: 5.969 kB / 1.008 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/1.243, allocations: 32.23 kB / 1.008 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.988e-06/1.243, allocations: 8.047 kB / 1.008 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/1.243, allocations: 9.344 kB / 1.008 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007218/1.25, allocations: 2.848 MB / 1.011 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007436/1.251, allocations: 333.2 kB / 1.011 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/1.251, allocations: 24.08 kB / 1.011 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/1.252, allocations: 157.9 kB / 1.011 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/1.252, allocations: 71.36 kB / 1.011 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.84e-05/1.253, allocations: 38.25 kB / 1.011 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009824/1.254, allocations: 0.8336 MB / 1.012 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.254, allocations: 4.297 kB / 1.012 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009786/1.255, allocations: 340.2 kB / 1.013 GB, free: 9.508 MB / 0.7325 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.008873/1.263, allocations: 3.848 MB / 1.016 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004585/1.268, allocations: 1.629 MB / 1.018 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.268, allocations: 0 / 1.018 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002259/1.27, allocations: 0.8421 MB / 1.019 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002812/1.273, allocations: 0.5988 MB / 1.019 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0245/1.298, allocations: 12.11 MB / 1.031 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008884/1.299, allocations: 1.182 MB / 1.032 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001518/1.3, allocations: 366 kB / 1.033 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007962/1.301, allocations: 0.5031 MB / 1.033 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of SimCode: time 5.51e-07/1.301, allocations: 0 / 1.033 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07398/1.375, allocations: 35.69 MB / 1.068 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/12.12, allocations: 24.05 kB / 1.068 GB, free: 11.17 MB / 0.7794 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)