Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.005134/0.005134, allocations: 103.1 kB / 15.74 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.001297/0.001298, allocations: 189 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002068/0.002068, allocations: 288.5 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9164/0.9164, allocations: 169.3 MB / 0.4983 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 95.84 kB / 0.681 GB, free: 7.41 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4538/0.4557, allocations: 86.98 MB / 0.7659 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.191/0.6468, allocations: 193.8 MB / 0.9552 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4412/1.088, allocations: 5.141 MB / 0.9602 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/1.089, allocations: 49.59 kB / 0.9603 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002059/1.091, allocations: 0.8267 MB / 0.9611 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006591/1.098, allocations: 2.695 MB / 0.9637 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002998/1.101, allocations: 1.113 MB / 0.9648 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003597/1.105, allocations: 2.605 MB / 0.9673 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/1.106, allocations: 0.8919 MB / 0.9682 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/1.109, allocations: 1.115 MB / 0.9693 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/1.11, allocations: 0.9613 MB / 0.9702 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001916/1.111, allocations: 81.56 kB / 0.9703 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003527/1.114, allocations: 1.801 MB / 0.9721 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004827/1.115, allocations: 435.7 kB / 0.9725 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008806/1.116, allocations: 0.6511 MB / 0.9731 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003545/1.119, allocations: 2.194 MB / 0.9753 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.119, allocations: 0 / 0.9753 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.382e-06/1.119, allocations: 0 / 0.9753 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.65e-05/1.119, allocations: 0.9062 kB / 0.9753 GB, free: 1.508 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004616/1.124, allocations: 1.986 MB / 0.9772 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/1.124, allocations: 10.78 kB / 0.9772 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001456/1.124, allocations: 135.2 kB / 0.9774 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004164/1.128, allocations: 0.716 MB / 0.9781 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/1.13, allocations: 0.9598 MB / 0.979 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.105e-05/1.13, allocations: 70.66 kB / 0.9791 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/1.13, allocations: 87.75 kB / 0.9791 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002743/1.133, allocations: 1.47 MB / 0.9806 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/1.133, allocations: 6.812 kB / 0.9806 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/1.133, allocations: 34.95 kB / 0.9806 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.717e-05/1.133, allocations: 48.73 kB / 0.9807 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00368/1.137, allocations: 1.557 MB / 0.9822 GB, free: 15.8 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.006038/1.143, allocations: 5.019 MB / 0.9871 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003093/1.146, allocations: 1.186 MB / 0.9882 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/1.147, allocations: 0.6646 MB / 0.9889 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/1.149, allocations: 0.9424 MB / 0.9898 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001776/1.15, allocations: 0.729 MB / 0.9905 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 3.226e-06/1.15, allocations: 0.9062 kB / 0.9905 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.005869/1.156, allocations: 1.957 MB / 0.9924 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/1.156, allocations: 64.44 kB / 0.9925 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/1.158, allocations: 1.264 MB / 0.9937 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/1.158, allocations: 47.42 kB / 0.9938 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/1.158, allocations: 0.5753 MB / 0.9943 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/1.159, allocations: 302.8 kB / 0.9946 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/1.159, allocations: 178.3 kB / 0.9948 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.159, allocations: 349.4 kB / 0.9951 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/1.16, allocations: 0.5461 MB / 0.9957 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/1.162, allocations: 0.8266 MB / 0.9965 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0032/1.165, allocations: 1.339 MB / 0.9978 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/1.165, allocations: 0 / 0.9978 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00383/1.169, allocations: 1.528 MB / 0.9993 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/1.169, allocations: 5.062 kB / 0.9993 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/1.169, allocations: 16.73 kB / 0.9993 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/1.169, allocations: 10.34 kB / 0.9993 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/1.171, allocations: 292.3 kB / 0.9996 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/1.171, allocations: 15.19 kB / 0.9996 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/1.172, allocations: 205.2 kB / 0.9998 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.141e-05/1.172, allocations: 47.59 kB / 0.9998 GB, free: 10.43 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0005614/1.173, allocations: 344.2 kB / 1 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/1.173, allocations: 142.9 kB / 1 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003701/1.177, allocations: 1.448 MB / 1.002 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/1.177, allocations: 9.516 kB / 1.002 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.177, allocations: 0 / 1.002 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/1.177, allocations: 6.688 kB / 1.002 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005962/1.183, allocations: 2.863 MB / 1.005 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/1.183, allocations: 4.812 kB / 1.005 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/1.184, allocations: 223.6 kB / 1.005 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/1.184, allocations: 8.562 kB / 1.005 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.198e-05/1.184, allocations: 29.55 kB / 1.005 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/1.184, allocations: 8 kB / 1.005 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/1.184, allocations: 9.469 kB / 1.005 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005295/1.19, allocations: 2.312 MB / 1.007 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006106/1.19, allocations: 314.3 kB / 1.007 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/1.19, allocations: 22.72 kB / 1.007 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.192, allocations: 112.9 kB / 1.007 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/1.192, allocations: 69.45 kB / 1.008 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.722e-05/1.192, allocations: 35.94 kB / 1.008 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009545/1.193, allocations: 0.8723 MB / 1.008 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.193, allocations: 0 / 1.008 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001027/1.194, allocations: 322 kB / 1.009 GB, free: 8.871 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.00684/1.201, allocations: 3.285 MB / 1.012 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003841/1.205, allocations: 1.316 MB / 1.013 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.205, allocations: 4.062 kB / 1.013 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001778/1.206, allocations: 0.6569 MB / 1.014 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/1.21, allocations: 0.6255 MB / 1.014 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/1.229, allocations: 11.15 MB / 1.025 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/1.229, allocations: 1.176 MB / 1.027 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00135/1.231, allocations: 346.2 kB / 1.027 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006553/1.231, allocations: 0.4898 MB / 1.027 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of SimCode: time 6.72e-07/1.231, allocations: 0 / 1.027 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06446/1.296, allocations: 35.03 MB / 1.062 GB, free: 436 kB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.77/11.07, allocations: 12.84 kB / 1.062 GB, free: 428 kB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_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_TSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)