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.005531/0.005531, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001305/0.001305, allocations: 188.6 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.23/1.23, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 290.4 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8764/0.8764, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001725, allocations: 95.92 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1564, allocations: 86.98 MB / 0.7659 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5647/0.7212, allocations: 193.8 MB / 0.9552 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008526/0.7297, allocations: 5.149 MB / 0.9602 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.7308, allocations: 47.69 kB / 0.9603 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.7327, allocations: 0.812 MB / 0.9611 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005737/0.7385, allocations: 2.602 MB / 0.9636 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002525/0.741, allocations: 1.105 MB / 0.9647 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003178/0.7442, allocations: 2.679 MB / 0.9673 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.7455, allocations: 0.9445 MB / 0.9682 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.7472, allocations: 1.105 MB / 0.9693 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.7483, allocations: 0.9885 MB / 0.9703 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.7484, allocations: 84 kB / 0.9704 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00332/0.7518, allocations: 1.8 MB / 0.9721 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003973/0.7522, allocations: 446.6 kB / 0.9725 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006226/0.7528, allocations: 0.6728 MB / 0.9732 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0027/0.7555, allocations: 2.224 MB / 0.9754 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7555, allocations: 0 / 0.9754 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7555, allocations: 4 kB / 0.9754 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.758e-05/0.7556, allocations: 0 / 0.9754 GB, free: 12.6 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.004831/0.7604, allocations: 1.953 MB / 0.9773 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.7604, allocations: 12.03 kB / 0.9773 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.7606, allocations: 139.6 kB / 0.9774 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005236/0.7659, allocations: 0.8935 MB / 0.9783 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.7676, allocations: 0.9761 MB / 0.9792 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.568e-05/0.7676, allocations: 70 kB / 0.9793 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.7678, allocations: 88 kB / 0.9794 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00353/0.7714, allocations: 1.587 MB / 0.9809 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.7714, allocations: 0 / 0.9809 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.7715, allocations: 36 kB / 0.981 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.579e-05/0.7716, allocations: 49.98 kB / 0.981 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004939/0.7765, allocations: 1.846 MB / 0.9828 GB, free: 4.797 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.007296/0.7838, allocations: 4.726 MB / 0.9874 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004237/0.7881, allocations: 1.569 MB / 0.989 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002294/0.7904, allocations: 0.8507 MB / 0.9898 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/0.7916, allocations: 0.9452 MB / 0.9907 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002388/0.794, allocations: 0.9143 MB / 0.9916 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=95): time 3.046e-06/0.794, allocations: 0 / 0.9916 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of matching and sorting (n=95): time 0.007569/0.8016, allocations: 2.454 MB / 0.994 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.8017, allocations: 60.41 kB / 0.9941 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.8031, allocations: 1.201 MB / 0.9953 GB, free: 7.613 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.8032, allocations: 49.7 kB / 0.9953 GB, free: 7.559 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004567/0.8037, allocations: 0.5408 MB / 0.9958 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003093/0.804, allocations: 323.4 kB / 0.9961 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003312/0.8043, allocations: 190.5 kB / 0.9963 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.8045, allocations: 337.9 kB / 0.9966 GB, free: 6.164 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002139/0.8066, allocations: 0.7045 MB / 0.9973 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/0.8089, allocations: 0.9074 MB / 0.9982 GB, free: 4.484 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004203/0.8131, allocations: 1.561 MB / 0.9997 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.8131, allocations: 3.938 kB / 0.9997 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004854/0.818, allocations: 1.776 MB / 1.001 GB, free: 1.074 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.818, allocations: 8 kB / 1.001 GB, free: 1.066 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.818, allocations: 4.938 kB / 1.001 GB, free: 1.062 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.8181, allocations: 8.094 kB / 1.002 GB, free: 1.055 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.8198, allocations: 351.5 kB / 1.002 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.8198, allocations: 8 kB / 1.002 GB, free: 0.7031 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.8214, allocations: 238.7 kB / 1.002 GB, free: 480 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.8215, allocations: 47.97 kB / 1.002 GB, free: 432 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.0005268/0.822, allocations: 348.1 kB / 1.002 GB, free: 80 kB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/0.8223, allocations: 138.3 kB / 1.003 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004969/0.8272, allocations: 1.802 MB / 1.004 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.8273, allocations: 8 kB / 1.004 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.8273, allocations: 4 kB / 1.004 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.8273, allocations: 3.984 kB / 1.004 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007084/0.8344, allocations: 3.313 MB / 1.008 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.8344, allocations: 4 kB / 1.008 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/0.836, allocations: 291.8 kB / 1.008 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/0.836, allocations: 8 kB / 1.008 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.649e-05/0.8361, allocations: 31.97 kB / 1.008 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.8362, allocations: 8 kB / 1.008 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.8362, allocations: 11.94 kB / 1.008 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007039/0.8432, allocations: 2.839 MB / 1.011 GB, free: 7.441 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006115/0.8438, allocations: 327.1 kB / 1.011 GB, free: 7.102 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.844, allocations: 28 kB / 1.011 GB, free: 7.074 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.8454, allocations: 159.8 kB / 1.011 GB, free: 6.918 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.8455, allocations: 68.44 kB / 1.011 GB, free: 6.852 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.173e-05/0.8456, allocations: 43.97 kB / 1.011 GB, free: 6.809 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008855/0.8465, allocations: 0.8315 MB / 1.012 GB, free: 5.973 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8465, allocations: 0 / 1.012 GB, free: 5.973 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008914/0.8474, allocations: 339.7 kB / 1.012 GB, free: 5.641 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.008223/0.8556, allocations: 3.832 MB / 1.016 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004568/0.8602, allocations: 1.634 MB / 1.018 GB, free: 280 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8602, allocations: 0 / 1.018 GB, free: 280 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002271/0.8625, allocations: 0.8322 MB / 1.019 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/0.8651, allocations: 0.6217 MB / 1.019 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02154/0.8866, allocations: 12.05 MB / 1.031 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006419/0.8873, allocations: 1.179 MB / 1.032 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001198/0.8885, allocations: 362 kB / 1.032 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000718/0.8892, allocations: 0.5031 MB / 1.033 GB, free: 400 kB / 0.7794 GB Notification: Performance of SimCode: time 7.02e-07/0.8892, allocations: 0 / 1.033 GB, free: 400 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06394/0.9532, allocations: 35.37 MB / 1.067 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.281/10.23, allocations: 14 kB / 1.068 GB, free: 13.47 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)