Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_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.005938/0.005938, allocations: 96.91 kB / 15.73 MB, free: 6.484 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.001896/0.001896, allocations: 192 kB / 16.67 MB, free: 6.391 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8294/0.8294, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 65.25 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1431, allocations: 80.2 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5106/0.6537, allocations: 193.8 MB / 0.8485 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006334/0.6601, allocations: 5.149 MB / 0.8535 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004814/0.6606, allocations: 46.47 kB / 0.8536 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.6619, allocations: 0.8089 MB / 0.8544 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003832/0.6658, allocations: 2.602 MB / 0.8569 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.6674, allocations: 1.115 MB / 0.858 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001737/0.6692, allocations: 2.676 MB / 0.8606 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008481/0.67, allocations: 0.9488 MB / 0.8615 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.6711, allocations: 1.104 MB / 0.8626 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000816/0.6719, allocations: 0.9874 MB / 0.8636 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.672, allocations: 85.88 kB / 0.8637 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/0.6741, allocations: 1.795 MB / 0.8654 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000273/0.6744, allocations: 453.1 kB / 0.8658 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004195/0.6748, allocations: 0.6629 MB / 0.8665 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.6767, allocations: 2.231 MB / 0.8687 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.6767, allocations: 0 / 0.8687 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6767, allocations: 3.938 kB / 0.8687 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.6767, allocations: 0.9062 kB / 0.8687 GB, free: 1.629 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.003872/0.6806, allocations: 2.011 MB / 0.8706 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.6806, allocations: 11.31 kB / 0.8706 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/0.6807, allocations: 144.4 kB / 0.8708 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005016/0.6858, allocations: 0.8993 MB / 0.8717 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.687, allocations: 0.9792 MB / 0.8726 GB, free: 108 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.514e-05/0.6871, allocations: 67.19 kB / 0.8727 GB, free: 104 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.6872, allocations: 91.62 kB / 0.8728 GB, free: 104 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003123/0.6903, allocations: 1.584 MB / 0.8743 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.6904, allocations: 8.031 kB / 0.8743 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.6905, allocations: 37.52 kB / 0.8744 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/0.6905, allocations: 49.48 kB / 0.8744 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004636/0.6952, allocations: 1.852 MB / 0.8762 GB, free: 15.96 MB / 0.6544 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.006396/0.7016, allocations: 4.734 MB / 0.8808 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004022/0.7056, allocations: 1.577 MB / 0.8824 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002078/0.7077, allocations: 0.8556 MB / 0.8832 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/0.709, allocations: 0.9443 MB / 0.8841 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002234/0.7112, allocations: 0.9041 MB / 0.885 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=95): time 2.755e-06/0.7112, allocations: 0 / 0.885 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95): time 0.007269/0.7185, allocations: 2.464 MB / 0.8874 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.7185, allocations: 64.5 kB / 0.8875 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.7198, allocations: 1.204 MB / 0.8887 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-05/0.7199, allocations: 43.64 kB / 0.8887 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004639/0.7203, allocations: 0.5485 MB / 0.8892 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/0.7206, allocations: 341.8 kB / 0.8896 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003287/0.721, allocations: 185 kB / 0.8897 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.7211, allocations: 344.8 kB / 0.8901 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00216/0.7233, allocations: 0.7009 MB / 0.8908 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.7256, allocations: 0.9046 MB / 0.8916 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004326/0.73, allocations: 1.554 MB / 0.8932 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.73, allocations: 2.219 kB / 0.8932 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004867/0.7349, allocations: 1.783 MB / 0.8949 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.7349, allocations: 10.72 kB / 0.8949 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.7349, allocations: 9.25 kB / 0.8949 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.7349, allocations: 8.312 kB / 0.8949 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.7366, allocations: 346.8 kB / 0.8953 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.7367, allocations: 8.469 kB / 0.8953 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.7381, allocations: 244.5 kB / 0.8955 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.7382, allocations: 45.66 kB / 0.8955 GB, free: 7.621 MB / 0.6544 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.0004516/0.7387, allocations: 328.1 kB / 0.8959 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.7389, allocations: 145.2 kB / 0.896 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00512/0.744, allocations: 1.803 MB / 0.8977 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.744, allocations: 10.62 kB / 0.8978 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.744, allocations: 4 kB / 0.8978 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.7441, allocations: 3.984 kB / 0.8978 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007334/0.7514, allocations: 3.338 MB / 0.901 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.7514, allocations: 4 kB / 0.901 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/0.7531, allocations: 294.2 kB / 0.9013 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.7531, allocations: 4 kB / 0.9013 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.7532, allocations: 39.91 kB / 0.9014 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.698e-05/0.7532, allocations: 7.188 kB / 0.9014 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.7532, allocations: 8 kB / 0.9014 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008185/0.7614, allocations: 2.847 MB / 0.9041 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006751/0.7621, allocations: 328 kB / 0.9045 GB, free: 168 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.7623, allocations: 32 kB / 0.9045 GB, free: 136 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/0.7638, allocations: 162.2 kB / 0.9046 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.764, allocations: 71.59 kB / 0.9047 GB, free: 15.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.7641, allocations: 47.95 kB / 0.9048 GB, free: 15.86 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001129/0.7653, allocations: 0.8275 MB / 0.9056 GB, free: 15.03 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7653, allocations: 0 / 0.9056 GB, free: 15.03 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001129/0.7664, allocations: 343.7 kB / 0.9059 GB, free: 14.69 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.01032/0.7767, allocations: 3.827 MB / 0.9096 GB, free: 11.03 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00541/0.7822, allocations: 1.628 MB / 0.9112 GB, free: 9.43 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.7822, allocations: 0 / 0.9112 GB, free: 9.43 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002665/0.7849, allocations: 0.8435 MB / 0.912 GB, free: 8.617 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003005/0.7879, allocations: 0.6255 MB / 0.9127 GB, free: 8.023 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02561/0.8135, allocations: 12.09 MB / 0.9245 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009033/0.8144, allocations: 1.179 MB / 0.9256 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001422/0.8159, allocations: 362 kB / 0.926 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008892/0.8168, allocations: 0.507 MB / 0.9265 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of SimCode: time 1.713e-06/0.8168, allocations: 0 / 0.9265 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2847/1.101, allocations: 35.66 MB / 0.9613 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.88, allocations: 4.625 kB / 0.9613 GB, free: 6.41 MB / 0.7169 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)