Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_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.001596/0.001596, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001881/0.001882, allocations: 189.7 kB / 16.25 MB, free: 6.633 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.694/1.694, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9438/0.9438, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 64.34 kB / 0.505 GB, free: 5.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1452, allocations: 80.93 MB / 0.584 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4533/0.5985, allocations: 191.3 MB / 0.7708 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008542/0.6071, allocations: 5.122 MB / 0.7758 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.6084, allocations: 51.62 kB / 0.7758 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.6102, allocations: 0.7234 MB / 0.7765 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007613/0.6179, allocations: 2.452 MB / 0.7789 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00523/0.6232, allocations: 1.016 MB / 0.7799 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006096/0.6293, allocations: 2.7 MB / 0.7826 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002673/0.632, allocations: 0.9444 MB / 0.7835 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003839/0.6358, allocations: 1.133 MB / 0.7846 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002809/0.6387, allocations: 1.051 MB / 0.7856 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005005/0.6392, allocations: 91.94 kB / 0.7857 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006225/0.6455, allocations: 1.855 MB / 0.7875 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.6466, allocations: 454.6 kB / 0.788 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001912/0.6485, allocations: 0.6721 MB / 0.7886 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006705/0.6553, allocations: 2.313 MB / 0.7909 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/0.6553, allocations: 4 kB / 0.7909 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6553, allocations: 0 / 0.7909 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.073e-05/0.6554, allocations: 0 / 0.7909 GB, free: 9.324 MB / 0.6075 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.01027/0.6657, allocations: 1.963 MB / 0.7928 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.455e-05/0.6658, allocations: 12.02 kB / 0.7928 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004463/0.6662, allocations: 135.6 kB / 0.7929 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/0.6763, allocations: 0.8955 MB / 0.7938 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002999/0.6793, allocations: 0.9097 MB / 0.7947 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.6795, allocations: 73.98 kB / 0.7948 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004318/0.6799, allocations: 88 kB / 0.7948 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004256/0.6842, allocations: 1.587 MB / 0.7964 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.6843, allocations: 0 / 0.7964 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.6844, allocations: 35.98 kB / 0.7964 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.95e-05/0.6845, allocations: 49.98 kB / 0.7965 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005419/0.6899, allocations: 1.85 MB / 0.7983 GB, free: 1.574 MB / 0.6075 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.008382/0.6983, allocations: 4.739 MB / 0.8029 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004355/0.7026, allocations: 1.557 MB / 0.8044 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002216/0.7049, allocations: 0.8624 MB / 0.8053 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/0.7062, allocations: 0.9374 MB / 0.8062 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00242/0.7086, allocations: 0.9144 MB / 0.8071 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 3.016e-06/0.7086, allocations: 0 / 0.8071 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.007514/0.7161, allocations: 2.45 MB / 0.8095 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.7162, allocations: 68.34 kB / 0.8095 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.7178, allocations: 1.197 MB / 0.8107 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.7179, allocations: 49.7 kB / 0.8108 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004303/0.7184, allocations: 0.537 MB / 0.8113 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000316/0.7187, allocations: 327.3 kB / 0.8116 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003412/0.719, allocations: 190.5 kB / 0.8118 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.7192, allocations: 345.9 kB / 0.8121 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002109/0.7213, allocations: 0.6987 MB / 0.8128 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002186/0.7235, allocations: 0.9112 MB / 0.8137 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004116/0.7276, allocations: 1.554 MB / 0.8152 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.7276, allocations: 4 kB / 0.8152 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005386/0.733, allocations: 1.776 MB / 0.8169 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.7331, allocations: 4 kB / 0.8169 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.7331, allocations: 4.094 kB / 0.8169 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.7331, allocations: 15.94 kB / 0.817 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.7348, allocations: 339.9 kB / 0.8173 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.498e-05/0.7348, allocations: 11.94 kB / 0.8173 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.7365, allocations: 262.6 kB / 0.8175 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.7366, allocations: 47.97 kB / 0.8176 GB, free: 13.19 MB / 0.6387 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.0004935/0.7371, allocations: 331.7 kB / 0.8179 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.7374, allocations: 134.3 kB / 0.818 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005006/0.7424, allocations: 1.811 MB / 0.8198 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.7424, allocations: 12 kB / 0.8198 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.7424, allocations: 0 / 0.8198 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.7425, allocations: 7.969 kB / 0.8198 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00704/0.7495, allocations: 3.324 MB / 0.8231 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.7495, allocations: 4 kB / 0.8231 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/0.7512, allocations: 295.9 kB / 0.8234 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/0.7512, allocations: 8 kB / 0.8234 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.957e-05/0.7513, allocations: 31.97 kB / 0.8234 GB, free: 7.125 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.7513, allocations: 11.98 kB / 0.8234 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.7513, allocations: 11.94 kB / 0.8234 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007146/0.7585, allocations: 2.847 MB / 0.8262 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005174/0.759, allocations: 323.1 kB / 0.8265 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/0.7593, allocations: 20 kB / 0.8265 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/0.7608, allocations: 179.7 kB / 0.8267 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.7609, allocations: 76.45 kB / 0.8268 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.896e-05/0.761, allocations: 39.97 kB / 0.8268 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009254/0.762, allocations: 0.8315 MB / 0.8276 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/0.762, allocations: 0 / 0.8276 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001004/0.763, allocations: 335.7 kB / 0.8279 GB, free: 2.375 MB / 0.6387 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.008537/0.7715, allocations: 3.823 MB / 0.8317 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005044/0.7766, allocations: 1.786 MB / 0.8334 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.7766, allocations: 0 / 0.8334 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002238/0.7789, allocations: 0.8321 MB / 0.8342 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/0.7814, allocations: 0.6216 MB / 0.8348 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0238/0.8052, allocations: 13.25 MB / 0.8478 GB, free: 13.65 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000727/0.806, allocations: 1.179 MB / 0.8489 GB, free: 12.44 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001543/0.8075, allocations: 366 kB / 0.8493 GB, free: 12.08 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007753/0.8083, allocations: 0.4993 MB / 0.8498 GB, free: 11.59 MB / 0.67 GB Notification: Performance of SimCode: time 8.72e-07/0.8083, allocations: 0 / 0.8498 GB, free: 11.59 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.365/2.174, allocations: 34.99 MB / 0.8839 GB, free: 217.2 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/2.174, allocations: 243.4 kB / 0.8842 GB, free: 216.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.707/6.88, allocations: 0 / 0.8842 GB, free: 216.9 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)