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.001201/0.001201, allocations: 106.2 kB / 16.4 MB, free: 6.48 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.001286/0.001285, allocations: 197.2 kB / 17.34 MB, free: 5.754 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7511/0.7511, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 60.55 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1556, allocations: 76.19 MB / 0.6316 GB, free: 4.844 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03084/0.1865, allocations: 29.31 MB / 0.6602 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.1968, allocations: 6.885 MB / 0.667 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.1985, allocations: 43.69 kB / 0.667 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.2007, allocations: 0.6954 MB / 0.6677 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004234/0.205, allocations: 1.454 MB / 0.6691 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003026/0.208, allocations: 1.155 MB / 0.6702 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003402/0.2114, allocations: 2.477 MB / 0.6726 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.213, allocations: 0.797 MB / 0.6734 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.2153, allocations: 1.035 MB / 0.6744 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.2168, allocations: 0.8208 MB / 0.6752 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002802/0.2171, allocations: 64 kB / 0.6753 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.2193, allocations: 0.8265 MB / 0.6761 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004449/0.2197, allocations: 271 kB / 0.6764 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009793/0.2207, allocations: 0.5476 MB / 0.6769 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002924/0.2236, allocations: 1.617 MB / 0.6785 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2237, allocations: 0 / 0.6785 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.338e-06/0.2237, allocations: 0 / 0.6785 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.937e-05/0.2237, allocations: 3.938 kB / 0.6785 GB, free: 4.672 MB / 0.5137 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.002793/0.2265, allocations: 1.566 MB / 0.68 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.2266, allocations: 12.03 kB / 0.68 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/0.2267, allocations: 118.7 kB / 0.6801 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003416/0.2301, allocations: 0.5806 MB / 0.6807 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.2316, allocations: 0.8641 MB / 0.6815 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/0.2317, allocations: 62.11 kB / 0.6816 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.2318, allocations: 72 kB / 0.6817 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/0.2341, allocations: 1.104 MB / 0.6828 GB, free: 96 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.2341, allocations: 4 kB / 0.6828 GB, free: 92 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-05/0.2342, allocations: 28 kB / 0.6828 GB, free: 64 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.2343, allocations: 16 kB / 0.6828 GB, free: 48 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002846/0.2371, allocations: 1.004 MB / 0.6838 GB, free: 15.04 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.006189/0.2433, allocations: 4.95 MB / 0.6886 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002837/0.2462, allocations: 0.9022 MB / 0.6895 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.2476, allocations: 486.2 kB / 0.69 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/0.249, allocations: 1.592 MB / 0.6915 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001638/0.2506, allocations: 0.5768 MB / 0.6921 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 5.12e-06/0.2506, allocations: 0 / 0.6921 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.004561/0.2552, allocations: 1.489 MB / 0.6935 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.2553, allocations: 63.97 kB / 0.6936 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/0.2568, allocations: 1.108 MB / 0.6947 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-05/0.2569, allocations: 41.7 kB / 0.6947 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/0.2574, allocations: 0.5395 MB / 0.6952 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.2576, allocations: 217 kB / 0.6954 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/0.2579, allocations: 166.5 kB / 0.6956 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2581, allocations: 334 kB / 0.6959 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.2594, allocations: 453.6 kB / 0.6964 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.261, allocations: 0.7128 MB / 0.6971 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002882/0.2639, allocations: 1.124 MB / 0.6982 GB, free: 15.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.2639, allocations: 0 / 0.6982 GB, free: 15.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003547/0.2675, allocations: 1.274 MB / 0.6994 GB, free: 14.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.2675, allocations: 8 kB / 0.6994 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.2676, allocations: 12.06 kB / 0.6994 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.962e-05/0.2676, allocations: 12 kB / 0.6994 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.2688, allocations: 271.6 kB / 0.6997 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.332e-05/0.2689, allocations: 15.94 kB / 0.6997 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.2702, allocations: 178.9 kB / 0.6999 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.2703, allocations: 47.98 kB / 0.6999 GB, free: 13.57 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.0005204/0.2708, allocations: 287.8 kB / 0.7002 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/0.2711, allocations: 122.4 kB / 0.7003 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003815/0.275, allocations: 1.363 MB / 0.7016 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-05/0.275, allocations: 15.97 kB / 0.7017 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.275, allocations: 4 kB / 0.7017 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.2751, allocations: 3.984 kB / 0.7017 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005173/0.2802, allocations: 2.37 MB / 0.704 GB, free: 9.316 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.2803, allocations: 4 kB / 0.704 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.2813, allocations: 187.9 kB / 0.7042 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/0.2813, allocations: 4 kB / 0.7042 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.899e-05/0.2814, allocations: 27.97 kB / 0.7042 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/0.2814, allocations: 7.938 kB / 0.7042 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2814, allocations: 3.938 kB / 0.7042 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005061/0.2865, allocations: 1.973 MB / 0.7061 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005652/0.2871, allocations: 275.4 kB / 0.7064 GB, free: 6.793 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002545/0.2873, allocations: 16 kB / 0.7064 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.2884, allocations: 111.8 kB / 0.7065 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.2885, allocations: 52.44 kB / 0.7066 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.037e-05/0.2886, allocations: 35.97 kB / 0.7066 GB, free: 6.578 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001176/0.2898, allocations: 0.7638 MB / 0.7073 GB, free: 5.809 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2898, allocations: 0 / 0.7073 GB, free: 5.809 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001311/0.2911, allocations: 347.5 kB / 0.7077 GB, free: 5.469 MB / 0.545 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.006726/0.2978, allocations: 3.089 MB / 0.7107 GB, free: 2.496 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003237/0.3011, allocations: 1.114 MB / 0.7118 GB, free: 1.383 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.3012, allocations: 0 / 0.7118 GB, free: 1.383 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001576/0.3027, allocations: 0.5736 MB / 0.7123 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.305, allocations: 452.5 kB / 0.7128 GB, free: 392 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/0.3235, allocations: 9.57 MB / 0.7221 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007247/0.3243, allocations: 1.104 MB / 0.7232 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009371/0.3252, allocations: 248.7 kB / 0.7234 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006552/0.3259, allocations: 463.2 kB / 0.7239 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.3259, allocations: 0 / 0.7239 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3901/0.716, allocations: 31.13 MB / 0.7543 GB, free: 107 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.638/10.35, allocations: 4.516 kB / 0.7543 GB, free: 107 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)