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.005191/0.005191, allocations: 103.5 kB / 15.73 MB, free: 6.004 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.001138/0.001138, allocations: 191.8 kB / 16.67 MB, free: 5.93 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.289/1.289, 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.001924/0.001924, allocations: 282.6 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8762/0.8762, allocations: 169.3 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 95.84 kB / 0.681 GB, free: 7.492 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4059, allocations: 86.99 MB / 0.7659 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.1804/0.5864, allocations: 193.8 MB / 0.9552 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3719/0.9583, allocations: 5.125 MB / 0.9602 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009586/0.9593, allocations: 49.06 kB / 0.9603 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.961, allocations: 0.8156 MB / 0.9611 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005342/0.9664, allocations: 2.598 MB / 0.9636 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002474/0.9689, allocations: 1.11 MB / 0.9647 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002767/0.9717, allocations: 2.599 MB / 0.9672 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.9727, allocations: 0.8958 MB / 0.9681 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.9742, allocations: 1.105 MB / 0.9692 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009918/0.9752, allocations: 0.9604 MB / 0.9701 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.9753, allocations: 81.19 kB / 0.9702 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/0.9781, allocations: 1.788 MB / 0.9719 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003545/0.9785, allocations: 439.3 kB / 0.9724 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006078/0.9791, allocations: 0.6508 MB / 0.973 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.9818, allocations: 2.178 MB / 0.9751 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9818, allocations: 3.469 kB / 0.9751 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9818, allocations: 0 / 0.9751 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.918e-05/0.9818, allocations: 0 / 0.9751 GB, free: 1.512 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.00424/0.9861, allocations: 1.934 MB / 0.977 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.9861, allocations: 10.84 kB / 0.977 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001377/0.9863, allocations: 140.8 kB / 0.9772 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003914/0.9902, allocations: 0.7042 MB / 0.9778 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.9915, allocations: 0.9542 MB / 0.9788 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/0.9915, allocations: 64.84 kB / 0.9788 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.9917, allocations: 93.05 kB / 0.9789 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/0.9943, allocations: 1.464 MB / 0.9804 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.9943, allocations: 2.094 kB / 0.9804 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.833e-05/0.9944, allocations: 35.17 kB / 0.9804 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.187e-05/0.9945, allocations: 51.59 kB / 0.9804 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003332/0.9978, allocations: 1.557 MB / 0.982 GB, free: 15.88 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.005572/1.003, allocations: 5.017 MB / 0.9869 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00282/1.006, allocations: 1.188 MB / 0.988 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/1.008, allocations: 0.6665 MB / 0.9887 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/1.009, allocations: 0.945 MB / 0.9896 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001585/1.01, allocations: 0.7227 MB / 0.9903 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 2.625e-06/1.01, allocations: 0 / 0.9903 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.005039/1.016, allocations: 1.953 MB / 0.9922 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/1.016, allocations: 67.61 kB / 0.9923 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/1.017, allocations: 1.262 MB / 0.9935 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.741e-05/1.017, allocations: 44.36 kB / 0.9935 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000345/1.017, allocations: 0.5703 MB / 0.9941 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/1.017, allocations: 280.6 kB / 0.9944 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/1.018, allocations: 184.8 kB / 0.9945 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001085/1.018, allocations: 350 kB / 0.9949 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/1.019, allocations: 0.5443 MB / 0.9954 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/1.021, allocations: 0.8198 MB / 0.9962 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0028/1.023, allocations: 1.341 MB / 0.9975 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.023, allocations: 2.625 kB / 0.9975 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00349/1.027, allocations: 1.512 MB / 0.999 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/1.027, allocations: 8.312 kB / 0.999 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.027, allocations: 10.94 kB / 0.999 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/1.027, allocations: 12.59 kB / 0.999 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/1.028, allocations: 294 kB / 0.9993 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/1.028, allocations: 14.97 kB / 0.9993 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/1.03, allocations: 202.9 kB / 0.9995 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.371e-05/1.03, allocations: 47.83 kB / 0.9996 GB, free: 10.55 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.0004581/1.03, allocations: 343.9 kB / 0.9999 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/1.03, allocations: 134.9 kB / 1 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00332/1.034, allocations: 1.447 MB / 1.001 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/1.034, allocations: 8.438 kB / 1.001 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/1.034, allocations: 4.078 kB / 1.001 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/1.034, allocations: 12.61 kB / 1.001 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004826/1.038, allocations: 2.859 MB / 1.004 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/1.039, allocations: 2.094 kB / 1.004 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/1.04, allocations: 225.4 kB / 1.004 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/1.04, allocations: 6.594 kB / 1.004 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-05/1.04, allocations: 34.55 kB / 1.005 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/1.04, allocations: 15.94 kB / 1.005 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.04, allocations: 3.438 kB / 1.005 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004705/1.044, allocations: 2.307 MB / 1.007 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004249/1.045, allocations: 306.3 kB / 1.007 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/1.045, allocations: 21.72 kB / 1.007 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/1.046, allocations: 112 kB / 1.007 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/1.046, allocations: 66.97 kB / 1.007 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.966e-05/1.046, allocations: 38.34 kB / 1.007 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008903/1.047, allocations: 0.8701 MB / 1.008 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/1.047, allocations: 0 / 1.008 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008931/1.048, allocations: 317.1 kB / 1.008 GB, free: 9.012 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.006093/1.054, allocations: 3.287 MB / 1.012 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003397/1.058, allocations: 1.32 MB / 1.013 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.058, allocations: 1.156 kB / 1.013 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/1.059, allocations: 0.6571 MB / 1.014 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/1.062, allocations: 0.6168 MB / 1.014 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01691/1.078, allocations: 11.11 MB / 1.025 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006557/1.079, allocations: 1.165 MB / 1.026 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001275/1.08, allocations: 348.4 kB / 1.027 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006332/1.081, allocations: 497.3 kB / 1.027 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of SimCode: time 1.683e-06/1.081, allocations: 0 / 1.027 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06349/1.145, allocations: 35.59 MB / 1.062 GB, free: 256 kB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.206/10.35, allocations: 15.3 kB / 1.062 GB, free: 244 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)