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.00158/0.00158, allocations: 102 kB / 16.4 MB, free: 6.492 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.00179/0.00179, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.449/1.449, 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.7827/0.7827, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 67.98 kB / 0.5572 GB, free: 32.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1632, allocations: 76.18 MB / 0.6316 GB, free: 4.969 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03423/0.1974, allocations: 29.32 MB / 0.6602 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01098/0.2085, allocations: 6.87 MB / 0.667 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.2101, allocations: 47.69 kB / 0.667 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.212, allocations: 0.6914 MB / 0.6677 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004232/0.2163, allocations: 1.454 MB / 0.6691 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003375/0.2197, allocations: 1.148 MB / 0.6702 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003761/0.2235, allocations: 2.473 MB / 0.6726 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.225, allocations: 0.8009 MB / 0.6734 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.2276, allocations: 1.047 MB / 0.6744 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001688/0.2293, allocations: 0.8169 MB / 0.6752 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003303/0.2296, allocations: 68 kB / 0.6753 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.2317, allocations: 0.8226 MB / 0.6761 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003157/0.232, allocations: 275 kB / 0.6764 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007152/0.2327, allocations: 0.5437 MB / 0.6769 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002906/0.2357, allocations: 1.621 MB / 0.6785 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2357, allocations: 4 kB / 0.6785 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2357, allocations: 4 kB / 0.6785 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.246e-05/0.2357, allocations: 0 / 0.6785 GB, free: 4.793 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.002645/0.2384, allocations: 1.566 MB / 0.68 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.2384, allocations: 12.03 kB / 0.68 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.2385, allocations: 118.7 kB / 0.6801 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003455/0.242, allocations: 0.5806 MB / 0.6807 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.2436, allocations: 0.8719 MB / 0.6816 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.885e-05/0.2437, allocations: 58.12 kB / 0.6816 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.2438, allocations: 72 kB / 0.6817 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.2464, allocations: 1.103 MB / 0.6828 GB, free: 216 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.2464, allocations: 0 / 0.6828 GB, free: 216 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-05/0.2465, allocations: 31.94 kB / 0.6828 GB, free: 184 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.2465, allocations: 20 kB / 0.6828 GB, free: 164 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003266/0.2498, allocations: 1 MB / 0.6838 GB, free: 15.16 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.006076/0.2559, allocations: 4.95 MB / 0.6886 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003027/0.2589, allocations: 0.8974 MB / 0.6895 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.2604, allocations: 487.1 kB / 0.69 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001376/0.2618, allocations: 1.595 MB / 0.6915 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001759/0.2636, allocations: 0.5728 MB / 0.6921 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 3.356e-06/0.2636, allocations: 0 / 0.6921 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.00496/0.2686, allocations: 1.481 MB / 0.6935 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.2686, allocations: 59.97 kB / 0.6936 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.2702, allocations: 1.12 MB / 0.6947 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.489e-05/0.2703, allocations: 41.7 kB / 0.6947 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004907/0.2708, allocations: 0.5395 MB / 0.6952 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/0.271, allocations: 213 kB / 0.6954 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.2713, allocations: 158.5 kB / 0.6956 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2715, allocations: 341.9 kB / 0.6959 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.273, allocations: 449.6 kB / 0.6964 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/0.2747, allocations: 0.7166 MB / 0.6971 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003204/0.2779, allocations: 1.12 MB / 0.6981 GB, free: 15.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/0.278, allocations: 4 kB / 0.6982 GB, free: 15.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003936/0.2819, allocations: 1.27 MB / 0.6994 GB, free: 14.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.282, allocations: 12.92 kB / 0.6994 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.282, allocations: 8 kB / 0.6994 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/0.282, allocations: 16 kB / 0.6994 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.2833, allocations: 259.6 kB / 0.6997 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.74e-05/0.2833, allocations: 19.92 kB / 0.6997 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.2846, allocations: 182.9 kB / 0.6999 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.2848, allocations: 47.97 kB / 0.6999 GB, free: 13.7 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.0005431/0.2853, allocations: 295.8 kB / 0.7002 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003399/0.2857, allocations: 122.4 kB / 0.7003 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004178/0.2899, allocations: 1.363 MB / 0.7016 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/0.2899, allocations: 8 kB / 0.7017 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.2899, allocations: 0 / 0.7017 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.29, allocations: 7.984 kB / 0.7017 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005681/0.2956, allocations: 2.37 MB / 0.704 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.2957, allocations: 0 / 0.704 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.2968, allocations: 195.9 kB / 0.7042 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/0.2968, allocations: 4 kB / 0.7042 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.586e-05/0.2969, allocations: 23.92 kB / 0.7042 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/0.2969, allocations: 11.92 kB / 0.7042 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.2969, allocations: 7.938 kB / 0.7042 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005403/0.3023, allocations: 1.969 MB / 0.7061 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006299/0.303, allocations: 275.5 kB / 0.7064 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002362/0.3032, allocations: 20 kB / 0.7064 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.3042, allocations: 99.88 kB / 0.7065 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.3044, allocations: 60.42 kB / 0.7066 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.1e-05/0.3045, allocations: 31.97 kB / 0.7066 GB, free: 6.707 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00113/0.3056, allocations: 0.7638 MB / 0.7073 GB, free: 5.938 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3056, allocations: 0 / 0.7073 GB, free: 5.938 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001482/0.3071, allocations: 343.5 kB / 0.7077 GB, free: 5.602 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.007914/0.315, allocations: 3.099 MB / 0.7107 GB, free: 2.621 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00374/0.3188, allocations: 1.114 MB / 0.7118 GB, free: 1.508 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.3188, allocations: 0 / 0.7118 GB, free: 1.508 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001784/0.3206, allocations: 0.5736 MB / 0.7123 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/0.3232, allocations: 444.1 kB / 0.7128 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02102/0.3442, allocations: 9.586 MB / 0.7221 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008251/0.3451, allocations: 1.106 MB / 0.7232 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001017/0.3461, allocations: 236.7 kB / 0.7234 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007056/0.3468, allocations: 463.2 kB / 0.7239 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of SimCode: time 9.72e-07/0.3468, allocations: 0 / 0.7239 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4571/0.804, allocations: 31.12 MB / 0.7543 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.4, allocations: 15.44 kB / 0.7543 GB, free: 107.2 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)