Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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_Water,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IBPSA_latest_IBPSA_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.001624/0.001624, allocations: 101.7 kB / 16.4 MB, free: 6.457 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.001763/0.001763, allocations: 196 kB / 17.34 MB, free: 5.719 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8034/0.8034, allocations: 122.8 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 65.55 kB / 0.568 GB, free: 29.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1311, allocations: 77.94 MB / 0.6441 GB, free: 9.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03255/0.1637, allocations: 29.32 MB / 0.6727 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009766/0.1735, allocations: 6.883 MB / 0.6794 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001427/0.175, allocations: 43.69 kB / 0.6795 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.1768, allocations: 0.6953 MB / 0.6802 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00366/0.1805, allocations: 1.454 MB / 0.6816 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002965/0.1835, allocations: 1.155 MB / 0.6827 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003294/0.1868, allocations: 2.477 MB / 0.6851 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.1881, allocations: 0.797 MB / 0.6859 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.19, allocations: 1.012 MB / 0.6869 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.1911, allocations: 0.8169 MB / 0.6877 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.1913, allocations: 64 kB / 0.6878 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.193, allocations: 0.8226 MB / 0.6886 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003075/0.1933, allocations: 271 kB / 0.6888 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006071/0.194, allocations: 0.5514 MB / 0.6894 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002589/0.1966, allocations: 1.621 MB / 0.6909 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1966, allocations: 0 / 0.6909 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1966, allocations: 0 / 0.6909 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.616e-05/0.1966, allocations: 0 / 0.6909 GB, free: 9.438 MB / 0.5294 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.002825/0.1995, allocations: 1.57 MB / 0.6925 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1995, allocations: 8.625 kB / 0.6925 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001386/0.1996, allocations: 118.7 kB / 0.6926 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003652/0.2033, allocations: 0.5806 MB / 0.6932 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.205, allocations: 0.8719 MB / 0.694 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.942e-05/0.2051, allocations: 58.12 kB / 0.6941 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.2052, allocations: 72 kB / 0.6941 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/0.2078, allocations: 1.099 MB / 0.6952 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.2078, allocations: 4 kB / 0.6952 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.953e-05/0.2079, allocations: 28 kB / 0.6952 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.2079, allocations: 16 kB / 0.6953 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003395/0.2113, allocations: 1.012 MB / 0.6962 GB, free: 3.805 MB / 0.5294 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.006495/0.2178, allocations: 4.935 MB / 0.7011 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003177/0.221, allocations: 0.9094 MB / 0.702 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.2227, allocations: 486.2 kB / 0.7024 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001391/0.2241, allocations: 1.595 MB / 0.704 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001857/0.226, allocations: 0.5806 MB / 0.7045 GB, free: 10.65 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 3.727e-06/0.226, allocations: 0 / 0.7045 GB, free: 10.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.005475/0.2315, allocations: 1.481 MB / 0.706 GB, free: 9.164 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.2316, allocations: 59.97 kB / 0.706 GB, free: 9.094 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.233, allocations: 1.112 MB / 0.7071 GB, free: 7.969 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/0.2332, allocations: 41.7 kB / 0.7072 GB, free: 7.922 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004416/0.2336, allocations: 0.5434 MB / 0.7077 GB, free: 7.371 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.2339, allocations: 209.1 kB / 0.7079 GB, free: 7.164 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/0.2342, allocations: 162.5 kB / 0.7081 GB, free: 7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.2343, allocations: 338 kB / 0.7084 GB, free: 6.664 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.2359, allocations: 453.6 kB / 0.7088 GB, free: 6.219 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.2377, allocations: 0.7128 MB / 0.7095 GB, free: 5.387 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003287/0.241, allocations: 1.124 MB / 0.7106 GB, free: 4.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.2411, allocations: 0 / 0.7106 GB, free: 4.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003953/0.245, allocations: 1.271 MB / 0.7118 GB, free: 2.879 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.2451, allocations: 8 kB / 0.7119 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.2451, allocations: 12.12 kB / 0.7119 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.2451, allocations: 12 kB / 0.7119 GB, free: 2.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.2465, allocations: 271.6 kB / 0.7121 GB, free: 2.582 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/0.2465, allocations: 15.94 kB / 0.7121 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.2478, allocations: 194.8 kB / 0.7123 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.248, allocations: 47.97 kB / 0.7124 GB, free: 2.328 MB / 0.545 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 ($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 (100): * Single equations (assignments): 100 * 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.0005119/0.2485, allocations: 287.8 kB / 0.7127 GB, free: 2.039 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/0.2487, allocations: 118.5 kB / 0.7128 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004105/0.2528, allocations: 1.363 MB / 0.7141 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/0.2529, allocations: 15.98 kB / 0.7141 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.2529, allocations: 0 / 0.7141 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.2529, allocations: 3.984 kB / 0.7141 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005469/0.2584, allocations: 2.374 MB / 0.7164 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.2584, allocations: 4 kB / 0.7164 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.2596, allocations: 183.9 kB / 0.7166 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.2596, allocations: 4 kB / 0.7166 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.714e-05/0.2597, allocations: 31.97 kB / 0.7167 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/0.2597, allocations: 7.938 kB / 0.7167 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.2597, allocations: 3.938 kB / 0.7167 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005556/0.2653, allocations: 1.973 MB / 0.7186 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005548/0.2659, allocations: 271.4 kB / 0.7188 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.2661, allocations: 16 kB / 0.7189 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.2671, allocations: 103.9 kB / 0.719 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.2673, allocations: 60.38 kB / 0.719 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.633e-05/0.2674, allocations: 35.97 kB / 0.7191 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009746/0.2683, allocations: 0.7599 MB / 0.7198 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2684, allocations: 0 / 0.7198 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001198/0.2696, allocations: 351.5 kB / 0.7201 GB, free: 10.24 MB / 0.5606 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 (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.007338/0.2769, allocations: 3.073 MB / 0.7231 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00381/0.2808, allocations: 1.114 MB / 0.7242 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.2808, allocations: 0 / 0.7242 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.2826, allocations: 0.5736 MB / 0.7248 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/0.2848, allocations: 456 kB / 0.7252 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0187/0.3036, allocations: 9.586 MB / 0.7346 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006708/0.3043, allocations: 1.1 MB / 0.7357 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009647/0.3052, allocations: 240.7 kB / 0.7359 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006349/0.3059, allocations: 463.2 kB / 0.7363 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/0.3059, allocations: 0 / 0.7363 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3269/0.6328, allocations: 30.65 MB / 0.7663 GB, free: 90.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.78, allocations: 6.703 kB / 0.7663 GB, free: 90.68 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)