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.001094/0.001095, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001093/0.001093, allocations: 193 kB / 16.13 MB, free: 6.656 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.303/1.303, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8717/0.8717, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 56 kB / 0.5048 GB, free: 5.691 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1539, allocations: 80.93 MB / 0.5838 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4482/0.6021, allocations: 191.5 MB / 0.7708 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008592/0.6107, allocations: 5.189 MB / 0.7759 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.6122, allocations: 43.69 kB / 0.776 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.6142, allocations: 0.7194 MB / 0.7767 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006546/0.6207, allocations: 2.448 MB / 0.779 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.6236, allocations: 1.01 MB / 0.78 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004445/0.6281, allocations: 3.613 MB / 0.7836 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.6298, allocations: 0.8663 MB / 0.7844 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.6322, allocations: 1.011 MB / 0.7854 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.634, allocations: 1.027 MB / 0.7864 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002679/0.6342, allocations: 59.98 kB / 0.7865 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00389/0.6381, allocations: 2.073 MB / 0.7885 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005519/0.6387, allocations: 426.6 kB / 0.7889 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.6397, allocations: 0.6331 MB / 0.7895 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004044/0.6438, allocations: 2.266 MB / 0.7917 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.6438, allocations: 0 / 0.7917 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.41e-07/0.6438, allocations: 0 / 0.7917 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.074e-05/0.6439, allocations: 0 / 0.7917 GB, free: 8.402 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.005871/0.6498, allocations: 1.967 MB / 0.7936 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.6498, allocations: 8.031 kB / 0.7936 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002394/0.6501, allocations: 139.6 kB / 0.7938 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006048/0.6561, allocations: 0.8994 MB / 0.7947 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.6578, allocations: 0.902 MB / 0.7955 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/0.6579, allocations: 69.98 kB / 0.7956 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.6581, allocations: 91.94 kB / 0.7957 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003983/0.6621, allocations: 1.582 MB / 0.7972 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.6621, allocations: 3.938 kB / 0.7972 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.6623, allocations: 36 kB / 0.7973 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.123e-05/0.6623, allocations: 45.98 kB / 0.7973 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005575/0.6679, allocations: 1.85 MB / 0.7991 GB, free: 0.6602 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.00821/0.6762, allocations: 4.747 MB / 0.8038 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004583/0.6808, allocations: 1.561 MB / 0.8053 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002343/0.6831, allocations: 0.8507 MB / 0.8061 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/0.6845, allocations: 0.9452 MB / 0.807 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002581/0.6871, allocations: 0.9149 MB / 0.8079 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 3.096e-06/0.6871, allocations: 0 / 0.8079 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.008068/0.6952, allocations: 2.454 MB / 0.8103 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.6952, allocations: 60.41 kB / 0.8104 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.6969, allocations: 1.201 MB / 0.8116 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.6971, allocations: 49.69 kB / 0.8116 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004571/0.6975, allocations: 0.5331 MB / 0.8121 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003461/0.6979, allocations: 335.3 kB / 0.8125 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000369/0.6983, allocations: 186.5 kB / 0.8126 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6984, allocations: 345.9 kB / 0.813 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002243/0.7007, allocations: 0.6967 MB / 0.8136 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002404/0.7031, allocations: 0.919 MB / 0.8145 GB, free: 344 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004461/0.7076, allocations: 1.558 MB / 0.8161 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.7076, allocations: 0 / 0.8161 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005283/0.7129, allocations: 1.776 MB / 0.8178 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.7129, allocations: 8 kB / 0.8178 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.713, allocations: 4 kB / 0.8178 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.273e-05/0.713, allocations: 8 kB / 0.8178 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.715, allocations: 340 kB / 0.8181 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.41e-05/0.715, allocations: 16.78 kB / 0.8182 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/0.717, allocations: 254.7 kB / 0.8184 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.7172, allocations: 47.97 kB / 0.8184 GB, free: 12.27 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.0008186/0.718, allocations: 336.6 kB / 0.8188 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003522/0.7184, allocations: 138.3 kB / 0.8189 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005401/0.7238, allocations: 1.802 MB / 0.8207 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.7238, allocations: 11.94 kB / 0.8207 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.7238, allocations: 7.188 kB / 0.8207 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.7239, allocations: 3.984 kB / 0.8207 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007744/0.7316, allocations: 3.332 MB / 0.8239 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.7316, allocations: 4 kB / 0.8239 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/0.7335, allocations: 287.9 kB / 0.8242 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-05/0.7335, allocations: 11.98 kB / 0.8242 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.7336, allocations: 31.97 kB / 0.8242 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.127e-05/0.7336, allocations: 11.94 kB / 0.8243 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.7336, allocations: 8 kB / 0.8243 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007664/0.7413, allocations: 2.839 MB / 0.827 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006084/0.7419, allocations: 327.1 kB / 0.8274 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002761/0.7422, allocations: 24 kB / 0.8274 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/0.7439, allocations: 175.7 kB / 0.8275 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.744, allocations: 76.44 kB / 0.8276 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.906e-05/0.7441, allocations: 39.97 kB / 0.8277 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001098/0.7452, allocations: 0.8315 MB / 0.8285 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7453, allocations: 0 / 0.8285 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001112/0.7464, allocations: 339.7 kB / 0.8288 GB, free: 1.457 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.009097/0.7555, allocations: 3.837 MB / 0.8325 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004954/0.7605, allocations: 1.622 MB / 0.8341 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.7605, allocations: 0 / 0.8341 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002534/0.763, allocations: 0.8322 MB / 0.8349 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/0.7662, allocations: 0.5849 MB / 0.8355 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02771/0.7939, allocations: 13.24 MB / 0.8484 GB, free: 12.92 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009403/0.7949, allocations: 1.183 MB / 0.8496 GB, free: 11.71 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001818/0.7967, allocations: 366 kB / 0.8499 GB, free: 11.35 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008905/0.7976, allocations: 0.4953 MB / 0.8504 GB, free: 10.86 MB / 0.67 GB Notification: Performance of SimCode: time 1.162e-06/0.7976, allocations: 0 / 0.8504 GB, free: 10.86 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9163/1.714, allocations: 34.1 MB / 0.8837 GB, free: 216.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/1.714, allocations: 242.4 kB / 0.884 GB, free: 216.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.866/4.58, allocations: 2.531 kB / 0.884 GB, free: 216.1 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)