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.005914/0.005915, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001277/0.001276, allocations: 202.2 kB / 16.68 MB, free: 5.926 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7853/0.7853, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 62.97 kB / 0.5852 GB, free: 21.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1697, allocations: 80.92 MB / 0.6642 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5982/0.7679, allocations: 193.8 MB / 0.8535 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01049/0.7785, allocations: 5.138 MB / 0.8585 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/0.7804, allocations: 47.38 kB / 0.8585 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002295/0.7827, allocations: 0.8156 MB / 0.8593 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007219/0.79, allocations: 2.595 MB / 0.8619 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002727/0.7928, allocations: 1.117 MB / 0.8629 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003426/0.7962, allocations: 2.674 MB / 0.8656 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.7975, allocations: 0.9445 MB / 0.8665 GB, free: 240 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.7993, allocations: 1.137 MB / 0.8676 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.8004, allocations: 0.9885 MB / 0.8686 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.8005, allocations: 87.98 kB / 0.8686 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003116/0.8037, allocations: 1.793 MB / 0.8704 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003895/0.8041, allocations: 450.6 kB / 0.8708 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005831/0.8046, allocations: 0.6637 MB / 0.8715 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002807/0.8075, allocations: 2.239 MB / 0.8737 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8075, allocations: 0 / 0.8737 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8075, allocations: 0 / 0.8737 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.656e-05/0.8075, allocations: 0 / 0.8737 GB, free: 8.867 MB / 0.6387 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.00465/0.8122, allocations: 1.949 MB / 0.8756 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.8122, allocations: 13.11 kB / 0.8756 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.8124, allocations: 143.6 kB / 0.8757 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005311/0.8177, allocations: 0.8916 MB / 0.8766 GB, free: 5.805 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.8194, allocations: 0.9721 MB / 0.8775 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/0.8195, allocations: 66 kB / 0.8776 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.8197, allocations: 99.97 kB / 0.8777 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003543/0.8232, allocations: 1.583 MB / 0.8792 GB, free: 3 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.8232, allocations: 4 kB / 0.8792 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.8234, allocations: 32 kB / 0.8793 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.523e-05/0.8234, allocations: 49.92 kB / 0.8793 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005035/0.8285, allocations: 1.85 MB / 0.8811 GB, free: 1.062 MB / 0.6387 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.007972/0.8364, allocations: 4.734 MB / 0.8857 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004431/0.8409, allocations: 1.569 MB / 0.8873 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00231/0.8432, allocations: 0.8624 MB / 0.8881 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/0.8445, allocations: 0.9335 MB / 0.889 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002529/0.847, allocations: 0.9105 MB / 0.8899 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=95): time 3.587e-06/0.847, allocations: 0 / 0.8899 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95): time 0.007855/0.8549, allocations: 2.458 MB / 0.8923 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.855, allocations: 68.34 kB / 0.8924 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/0.8565, allocations: 1.197 MB / 0.8936 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.8566, allocations: 45.7 kB / 0.8936 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/0.8571, allocations: 0.5446 MB / 0.8941 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002993/0.8574, allocations: 319.5 kB / 0.8944 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003513/0.8577, allocations: 186.5 kB / 0.8946 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8579, allocations: 345.9 kB / 0.8949 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002205/0.8601, allocations: 0.7005 MB / 0.8956 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002401/0.8625, allocations: 0.919 MB / 0.8965 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004434/0.8669, allocations: 1.546 MB / 0.898 GB, free: 15.12 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.867, allocations: 0 / 0.898 GB, free: 15.12 MB / 0.67 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005107/0.8721, allocations: 1.78 MB / 0.8998 GB, free: 13.33 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.8721, allocations: 8 kB / 0.8998 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.8721, allocations: 4 kB / 0.8998 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.8722, allocations: 8 kB / 0.8998 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/0.8739, allocations: 343.9 kB / 0.9001 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-05/0.874, allocations: 12 kB / 0.9001 GB, free: 12.96 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.8756, allocations: 238.7 kB / 0.9004 GB, free: 12.73 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.8757, allocations: 49.09 kB / 0.9004 GB, free: 12.68 MB / 0.67 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.0006157/0.8764, allocations: 343.6 kB / 0.9007 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003007/0.8767, allocations: 134.3 kB / 0.9009 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005394/0.8821, allocations: 1.803 MB / 0.9026 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.8821, allocations: 12 kB / 0.9026 GB, free: 10.38 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.8821, allocations: 0.875 kB / 0.9026 GB, free: 10.38 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.8821, allocations: 7.922 kB / 0.9026 GB, free: 10.37 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00794/0.8901, allocations: 3.317 MB / 0.9059 GB, free: 6.945 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.8901, allocations: 4 kB / 0.9059 GB, free: 6.941 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/0.8918, allocations: 292 kB / 0.9062 GB, free: 6.656 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/0.8918, allocations: 11.98 kB / 0.9062 GB, free: 6.645 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.8919, allocations: 39.97 kB / 0.9062 GB, free: 6.605 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/0.8919, allocations: 8 kB / 0.9062 GB, free: 6.598 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.8919, allocations: 7.938 kB / 0.9062 GB, free: 6.59 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007456/0.8994, allocations: 2.843 MB / 0.909 GB, free: 3.684 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006894/0.9001, allocations: 323.2 kB / 0.9093 GB, free: 3.348 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002524/0.9004, allocations: 20 kB / 0.9093 GB, free: 3.328 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/0.9019, allocations: 163.8 kB / 0.9095 GB, free: 3.168 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.902, allocations: 68.45 kB / 0.9096 GB, free: 3.102 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.511e-05/0.9021, allocations: 39.97 kB / 0.9096 GB, free: 3.062 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001027/0.9031, allocations: 0.8392 MB / 0.9104 GB, free: 2.219 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9032, allocations: 0 / 0.9104 GB, free: 2.219 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001075/0.9042, allocations: 339.6 kB / 0.9107 GB, free: 1.887 MB / 0.67 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.009004/0.9132, allocations: 3.826 MB / 0.9145 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004901/0.9182, allocations: 1.634 MB / 0.9161 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.9182, allocations: 0 / 0.9161 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002406/0.9206, allocations: 0.8439 MB / 0.9169 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/0.9238, allocations: 0.6093 MB / 0.9175 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02573/0.9495, allocations: 12.05 MB / 0.9293 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008526/0.9504, allocations: 1.183 MB / 0.9304 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001403/0.9518, allocations: 366 kB / 0.9308 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000823/0.9527, allocations: 0.5032 MB / 0.9312 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of SimCode: time 1.162e-06/0.9527, allocations: 0 / 0.9312 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07373/1.026, allocations: 36.23 MB / 0.9666 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/11.49, allocations: 6.094 kB / 0.9666 GB, free: 8.695 MB / 0.7325 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)