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.005602/0.005602, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.001312/0.001312, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.252/1.252, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002027/0.002027, allocations: 274.6 kB / 290.8 MB, free: 1.797 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9048/0.9048, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 99.92 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1781, allocations: 86.98 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5432/0.7213, allocations: 193.8 MB / 0.9552 GB, free: 1.23 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008967/0.7303, allocations: 5.149 MB / 0.9602 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.7317, allocations: 47.69 kB / 0.9603 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.7338, allocations: 0.8158 MB / 0.9611 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006586/0.7405, allocations: 2.595 MB / 0.9636 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002817/0.7433, allocations: 1.112 MB / 0.9647 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003545/0.7469, allocations: 2.679 MB / 0.9673 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.7485, allocations: 0.9445 MB / 0.9682 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002209/0.7507, allocations: 1.129 MB / 0.9693 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00157/0.7523, allocations: 0.9962 MB / 0.9703 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002991/0.7526, allocations: 88 kB / 0.9704 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003296/0.7559, allocations: 1.785 MB / 0.9721 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006243/0.7565, allocations: 450.6 kB / 0.9726 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.7576, allocations: 0.6759 MB / 0.9732 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003685/0.7613, allocations: 2.224 MB / 0.9754 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.7613, allocations: 0 / 0.9754 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7614, allocations: 0 / 0.9754 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.695e-05/0.7614, allocations: 0 / 0.9754 GB, free: 12.49 MB / 0.7325 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.005592/0.767, allocations: 1.957 MB / 0.9773 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.7671, allocations: 8.031 kB / 0.9773 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002326/0.7673, allocations: 146.3 kB / 0.9775 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005398/0.7727, allocations: 0.8916 MB / 0.9783 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/0.7745, allocations: 0.9761 MB / 0.9793 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/0.7746, allocations: 70 kB / 0.9793 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002204/0.7748, allocations: 88 kB / 0.9794 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003692/0.7785, allocations: 1.583 MB / 0.981 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.7786, allocations: 0 / 0.981 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.7787, allocations: 36 kB / 0.981 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.745e-05/0.7788, allocations: 57.92 kB / 0.9811 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004933/0.7837, allocations: 1.846 MB / 0.9829 GB, free: 4.68 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.007592/0.7913, allocations: 4.722 MB / 0.9875 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004117/0.7954, allocations: 1.573 MB / 0.989 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002119/0.7976, allocations: 0.8507 MB / 0.9898 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.7988, allocations: 0.9452 MB / 0.9908 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002318/0.8012, allocations: 0.9143 MB / 0.9917 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=95): time 2.955e-06/0.8012, allocations: 0 / 0.9917 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of matching and sorting (n=95): time 0.007142/0.8083, allocations: 2.458 MB / 0.9941 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.8084, allocations: 60.41 kB / 0.9941 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.8099, allocations: 1.201 MB / 0.9953 GB, free: 7.492 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.81, allocations: 45.7 kB / 0.9953 GB, free: 7.441 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/0.8105, allocations: 0.5408 MB / 0.9959 GB, free: 6.895 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003135/0.8108, allocations: 327.4 kB / 0.9962 GB, free: 6.57 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003508/0.8112, allocations: 190.5 kB / 0.9964 GB, free: 6.379 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.8113, allocations: 337.9 kB / 0.9967 GB, free: 6.043 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/0.8133, allocations: 0.7044 MB / 0.9974 GB, free: 5.336 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/0.8154, allocations: 0.9152 MB / 0.9983 GB, free: 4.355 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003964/0.8194, allocations: 1.554 MB / 0.9998 GB, free: 2.742 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/0.8194, allocations: 3.938 kB / 0.9998 GB, free: 2.738 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004569/0.824, allocations: 1.772 MB / 1.002 GB, free: 0.957 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.824, allocations: 12.03 kB / 1.002 GB, free: 0.9453 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.8241, allocations: 4 kB / 1.002 GB, free: 0.9414 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.8241, allocations: 8 kB / 1.002 GB, free: 0.9336 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.8258, allocations: 347.4 kB / 1.002 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/0.8258, allocations: 8 kB / 1.002 GB, free: 0.5859 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.8273, allocations: 235.6 kB / 1.002 GB, free: 364 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.8275, allocations: 50.78 kB / 1.002 GB, free: 316 kB / 0.7481 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.0005855/0.8281, allocations: 348.3 kB / 1.002 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/0.8284, allocations: 134.3 kB / 1.003 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004747/0.8331, allocations: 1.798 MB / 1.004 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.8332, allocations: 8 kB / 1.004 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.8332, allocations: 8 kB / 1.004 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.8332, allocations: 3.984 kB / 1.004 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006923/0.8401, allocations: 3.313 MB / 1.008 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.8401, allocations: 4 kB / 1.008 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/0.8417, allocations: 295.5 kB / 1.008 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.558e-05/0.8418, allocations: 8 kB / 1.008 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.811e-05/0.8419, allocations: 31.97 kB / 1.008 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.898e-06/0.8419, allocations: 8 kB / 1.008 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.8419, allocations: 7.938 kB / 1.008 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006857/0.8488, allocations: 2.843 MB / 1.011 GB, free: 7.324 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006098/0.8494, allocations: 327.1 kB / 1.011 GB, free: 6.984 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002679/0.8497, allocations: 28.09 kB / 1.011 GB, free: 6.957 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.8511, allocations: 155.8 kB / 1.011 GB, free: 6.805 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.8512, allocations: 72.44 kB / 1.011 GB, free: 6.734 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.018e-05/0.8513, allocations: 46.91 kB / 1.011 GB, free: 6.691 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001062/0.8524, allocations: 0.8315 MB / 1.012 GB, free: 5.855 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8524, allocations: 0 / 1.012 GB, free: 5.855 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001051/0.8535, allocations: 335.7 kB / 1.012 GB, free: 5.527 MB / 0.7637 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.008184/0.8616, allocations: 3.832 MB / 1.016 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004438/0.8661, allocations: 1.634 MB / 1.018 GB, free: 160 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.8661, allocations: 0 / 1.018 GB, free: 160 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002168/0.8683, allocations: 0.8322 MB / 1.019 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/0.8709, allocations: 0.6181 MB / 1.019 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02301/0.8939, allocations: 12.05 MB / 1.031 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008275/0.8948, allocations: 1.179 MB / 1.032 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001341/0.8962, allocations: 362 kB / 1.032 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008214/0.897, allocations: 0.5031 MB / 1.033 GB, free: 280 kB / 0.7794 GB Notification: Performance of SimCode: time 1.263e-06/0.897, allocations: 0 / 1.033 GB, free: 280 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06508/0.9621, allocations: 36.28 MB / 1.068 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.272/10.23, allocations: 13.92 kB / 1.068 GB, free: 12.45 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)