Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_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.001184/0.001184, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001232/0.001232, allocations: 192 kB / 17.2 MB, free: 5.598 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.304/1.304, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7558/0.7558, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 63.89 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3708, allocations: 77.92 MB / 0.5673 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5479/0.9187, allocations: 193.8 MB / 0.7565 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00759/0.9263, allocations: 5.149 MB / 0.7616 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.9274, allocations: 49.44 kB / 0.7616 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.9292, allocations: 0.8142 MB / 0.7624 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006091/0.9353, allocations: 2.601 MB / 0.7649 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003083/0.9384, allocations: 1.112 MB / 0.766 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003668/0.9421, allocations: 2.592 MB / 0.7686 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.9435, allocations: 0.891 MB / 0.7694 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002002/0.9455, allocations: 1.078 MB / 0.7705 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.9468, allocations: 0.9514 MB / 0.7714 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001776/0.947, allocations: 79.5 kB / 0.7715 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003317/0.9503, allocations: 1.786 MB / 0.7732 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004581/0.9508, allocations: 448.4 kB / 0.7737 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008694/0.9516, allocations: 0.6495 MB / 0.7743 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003333/0.955, allocations: 2.141 MB / 0.7764 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.955, allocations: 0.9375 kB / 0.7764 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.243e-06/0.955, allocations: 0 / 0.7764 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.455e-05/0.955, allocations: 0 / 0.7764 GB, free: 1.348 MB / 0.5762 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.004613/0.9597, allocations: 1.927 MB / 0.7783 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.9597, allocations: 9.094 kB / 0.7783 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001395/0.9599, allocations: 138.3 kB / 0.7784 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004229/0.9641, allocations: 0.7039 MB / 0.7791 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.9654, allocations: 0.8855 MB / 0.78 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/0.9654, allocations: 67.02 kB / 0.78 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.9656, allocations: 91.94 kB / 0.7801 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002981/0.9686, allocations: 1.465 MB / 0.7815 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.9686, allocations: 4.969 kB / 0.7815 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.9687, allocations: 37.17 kB / 0.7816 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.776e-05/0.9688, allocations: 51.92 kB / 0.7816 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00394/0.9727, allocations: 1.562 MB / 0.7832 GB, free: 15.7 MB / 0.5919 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.006941/0.9797, allocations: 5.042 MB / 0.7881 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003346/0.983, allocations: 1.189 MB / 0.7892 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.9848, allocations: 0.6578 MB / 0.7899 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/0.9861, allocations: 0.943 MB / 0.7908 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001836/0.988, allocations: 0.7283 MB / 0.7915 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 4.037e-06/0.988, allocations: 3.406 kB / 0.7915 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.005675/0.9937, allocations: 1.952 MB / 0.7934 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.9938, allocations: 65 kB / 0.7935 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.9952, allocations: 1.262 MB / 0.7947 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.125e-05/0.9953, allocations: 49.56 kB / 0.7948 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.9957, allocations: 0.5684 MB / 0.7953 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/0.9959, allocations: 278.1 kB / 0.7956 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/0.9962, allocations: 188.3 kB / 0.7958 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.9963, allocations: 341.4 kB / 0.7961 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.9979, allocations: 0.5503 MB / 0.7966 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.9997, allocations: 0.8191 MB / 0.7974 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00332/1.003, allocations: 1.341 MB / 0.7987 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/1.003, allocations: 2.531 kB / 0.7987 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003996/1.007, allocations: 1.512 MB / 0.8002 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/1.007, allocations: 10.14 kB / 0.8002 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/1.007, allocations: 12.38 kB / 0.8002 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/1.007, allocations: 14.72 kB / 0.8002 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/1.009, allocations: 300.2 kB / 0.8005 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/1.009, allocations: 15.36 kB / 0.8005 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.01, allocations: 199.9 kB / 0.8007 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.586e-05/1.01, allocations: 53.52 kB / 0.8008 GB, free: 10.27 MB / 0.5919 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.0006089/1.011, allocations: 331.8 kB / 0.8011 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002394/1.011, allocations: 134.2 kB / 0.8012 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004044/1.015, allocations: 1.447 MB / 0.8026 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/1.015, allocations: 12.06 kB / 0.8027 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/1.015, allocations: 10.27 kB / 0.8027 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/1.015, allocations: 5.156 kB / 0.8027 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005584/1.021, allocations: 2.857 MB / 0.8055 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.021, allocations: 6.562 kB / 0.8055 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/1.022, allocations: 233.5 kB / 0.8057 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/1.022, allocations: 7.375 kB / 0.8057 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.357e-05/1.022, allocations: 25.62 kB / 0.8057 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/1.022, allocations: 11 kB / 0.8057 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.022, allocations: 7.375 kB / 0.8057 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005205/1.027, allocations: 2.304 MB / 0.808 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005151/1.028, allocations: 307.2 kB / 0.8083 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/1.028, allocations: 19.81 kB / 0.8083 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.029, allocations: 120.2 kB / 0.8084 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/1.029, allocations: 59.34 kB / 0.8085 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.594e-05/1.029, allocations: 41.41 kB / 0.8085 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001033/1.03, allocations: 0.8776 MB / 0.8094 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/1.03, allocations: 4 kB / 0.8094 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000988/1.031, allocations: 314.1 kB / 0.8097 GB, free: 8.016 MB / 0.5919 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.00667/1.038, allocations: 3.27 MB / 0.8129 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004115/1.042, allocations: 1.435 MB / 0.8143 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/1.042, allocations: 2.344 kB / 0.8143 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001874/1.044, allocations: 0.6567 MB / 0.8149 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003453/1.048, allocations: 0.6281 MB / 0.8155 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01994/1.068, allocations: 11.97 MB / 0.8272 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006763/1.068, allocations: 1.173 MB / 0.8284 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001573/1.07, allocations: 346.2 kB / 0.8287 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007264/1.071, allocations: 495.2 kB / 0.8292 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of SimCode: time 9.62e-07/1.071, allocations: 0 / 0.8292 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06607/1.137, allocations: 34.63 MB / 0.863 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/9.277, allocations: 6.25 kB / 0.863 GB, free: 7.672 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)