Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.001048/0.001048, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001378/0.001378, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003594, allocations: 12 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6128/0.6132, allocations: 142.3 MB / 0.9539 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02698/0.6402, allocations: 26.91 MB / 0.9801 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009795/0.65, allocations: 6.484 MB / 0.9865 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.6514, allocations: 45 kB / 0.9865 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.6531, allocations: 0.5448 MB / 0.987 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00385/0.657, allocations: 1.193 MB / 0.9882 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003237/0.6602, allocations: 0.9312 MB / 0.9891 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003891/0.6641, allocations: 2.767 MB / 0.9918 GB, free: 9.176 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.6653, allocations: 0.6465 MB / 0.9925 GB, free: 8.516 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001676/0.6669, allocations: 0.8906 MB / 0.9933 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009837/0.6679, allocations: 0.7586 MB / 0.9941 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.131e-05/0.668, allocations: 36 kB / 0.9941 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.6694, allocations: 0.491 MB / 0.9946 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002273/0.6697, allocations: 239 kB / 0.9948 GB, free: 6.098 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002319/0.6699, allocations: 233 kB / 0.995 GB, free: 5.863 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.671, allocations: 1.019 MB / 0.996 GB, free: 4.844 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.671, allocations: 0 / 0.996 GB, free: 4.844 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.272e-06/0.671, allocations: 0 / 0.996 GB, free: 4.844 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.968e-06/0.671, allocations: 4 kB / 0.996 GB, free: 4.84 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002152/0.6732, allocations: 1.38 MB / 0.9974 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.6732, allocations: 12.03 kB / 0.9974 GB, free: 3.391 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001265/0.6733, allocations: 114.5 kB / 0.9975 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003046/0.6764, allocations: 0.6305 MB / 0.9981 GB, free: 2.637 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.6775, allocations: 0.7585 MB / 0.9988 GB, free: 1.824 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/0.6776, allocations: 57.98 kB / 0.9989 GB, free: 1.766 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.6777, allocations: 79.94 kB / 0.999 GB, free: 1.688 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.6799, allocations: 1.1 MB / 1 GB, free: 0.5078 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.6799, allocations: 3.938 kB / 1 GB, free: 0.5039 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.045e-05/0.68, allocations: 32 kB / 1 GB, free: 484 kB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.68, allocations: 23.95 kB / 1 GB, free: 460 kB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002833/0.6829, allocations: 1.02 MB / 1.001 GB, free: 15.43 MB / 0.7637 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.005531/0.6884, allocations: 4.967 MB / 1.006 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/0.691, allocations: 0.9478 MB / 1.007 GB, free: 9.223 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.6924, allocations: 499.1 kB / 1.007 GB, free: 8.734 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/0.6937, allocations: 1.611 MB / 1.009 GB, free: 6.773 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/0.6952, allocations: 0.5846 MB / 1.01 GB, free: 6.18 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=61): time 2.455e-06/0.6952, allocations: 0 / 1.01 GB, free: 6.18 MB / 0.7637 GB Notification: Performance of matching and sorting (n=61): time 0.004215/0.6995, allocations: 1.512 MB / 1.011 GB, free: 4.656 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.6995, allocations: 63.95 kB / 1.011 GB, free: 4.582 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.7008, allocations: 1.104 MB / 1.012 GB, free: 3.465 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.584e-05/0.7009, allocations: 37.7 kB / 1.012 GB, free: 3.422 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004173/0.7013, allocations: 0.5511 MB / 1.013 GB, free: 2.863 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.7015, allocations: 213.1 kB / 1.013 GB, free: 2.652 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/0.7016, allocations: 16 kB / 1.013 GB, free: 2.637 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.7017, allocations: 337.9 kB / 1.013 GB, free: 2.301 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.703, allocations: 453.6 kB / 1.014 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.7045, allocations: 0.7242 MB / 1.014 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.7058, allocations: 0.5017 MB / 1.015 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7058, allocations: 0 / 1.015 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003344/0.7092, allocations: 1.297 MB / 1.016 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.7092, allocations: 8 kB / 1.016 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.7092, allocations: 8 kB / 1.016 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.7093, allocations: 12 kB / 1.016 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.7103, allocations: 272.2 kB / 1.016 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.7104, allocations: 15.94 kB / 1.016 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.7115, allocations: 210.9 kB / 1.017 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.581e-05/0.7116, allocations: 39.98 kB / 1.017 GB, free: 14.66 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000513/0.7121, allocations: 295.8 kB / 1.017 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.7123, allocations: 122.5 kB / 1.017 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003353/0.7157, allocations: 1.386 MB / 1.018 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.7157, allocations: 8 kB / 1.018 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.7157, allocations: 0 / 1.018 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.7157, allocations: 7.984 kB / 1.018 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004521/0.7202, allocations: 2.39 MB / 1.021 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.7203, allocations: 8.031 kB / 1.021 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009155/0.7212, allocations: 195.7 kB / 1.021 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/0.7212, allocations: 4 kB / 1.021 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.227e-05/0.7213, allocations: 27.95 kB / 1.021 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.393e-06/0.7213, allocations: 4 kB / 1.021 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.7213, allocations: 11.89 kB / 1.021 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004432/0.7257, allocations: 2.001 MB / 1.023 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004354/0.7262, allocations: 287.2 kB / 1.023 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.7263, allocations: 15.98 kB / 1.023 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008467/0.7272, allocations: 127.9 kB / 1.023 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.7273, allocations: 56.47 kB / 1.023 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/0.7275, allocations: 39.91 kB / 1.023 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009722/0.7285, allocations: 0.756 MB / 1.024 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7285, allocations: 4 kB / 1.024 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0009971/0.7295, allocations: 339.6 kB / 1.025 GB, free: 6.441 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006225/0.7357, allocations: 3.081 MB / 1.028 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003035/0.7388, allocations: 1.13 MB / 1.029 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7388, allocations: 0 / 1.029 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.7402, allocations: 0.5853 MB / 1.029 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/0.7421, allocations: 442.6 kB / 1.03 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/0.7551, allocations: 7.631 MB / 1.037 GB, free: 9.293 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006662/0.7558, allocations: 1.104 MB / 1.038 GB, free: 8.156 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00104/0.7568, allocations: 248.6 kB / 1.038 GB, free: 7.91 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006071/0.7574, allocations: 463.2 kB / 1.039 GB, free: 7.457 MB / 0.795 GB Notification: Performance of SimCode: time 5.11e-07/0.7575, allocations: 0 / 1.039 GB, free: 7.457 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06429/0.8217, allocations: 29.11 MB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.8219, allocations: 237.4 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/3.375, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8262 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat does not exist to compare? outputFormat=mat