Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.001252/0.001252, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001343/0.001343, allocations: 194.7 kB / 16.25 MB, free: 6.617 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.315/1.315, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7264/0.7264, allocations: 132.2 MB / 422.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.55 kB / 0.5014 GB, free: 8.961 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1402, allocations: 80.19 MB / 0.5797 GB, free: 8.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.4426/0.5829, allocations: 191.3 MB / 0.7665 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008471/0.5914, allocations: 5.119 MB / 0.7715 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.5926, allocations: 43.69 kB / 0.7715 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.5945, allocations: 0.7234 MB / 0.7722 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006234/0.6007, allocations: 2.452 MB / 0.7746 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.6036, allocations: 1.01 MB / 0.7756 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003639/0.6072, allocations: 2.619 MB / 0.7782 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/0.6089, allocations: 0.8981 MB / 0.7791 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.611, allocations: 1.117 MB / 0.7801 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.6125, allocations: 1.024 MB / 0.7811 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002679/0.6128, allocations: 80 kB / 0.7812 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003343/0.6162, allocations: 1.843 MB / 0.783 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005258/0.6167, allocations: 446.6 kB / 0.7835 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008964/0.6176, allocations: 0.6564 MB / 0.7841 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003179/0.6208, allocations: 2.27 MB / 0.7863 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6208, allocations: 4 kB / 0.7863 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6208, allocations: 0 / 0.7863 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.733e-05/0.6209, allocations: 4 kB / 0.7863 GB, free: 15.44 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004762/0.6257, allocations: 1.931 MB / 0.7882 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.6257, allocations: 8.031 kB / 0.7882 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.6259, allocations: 139.5 kB / 0.7883 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00429/0.6302, allocations: 0.7005 MB / 0.789 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.6314, allocations: 0.9019 MB / 0.7899 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.906e-05/0.6315, allocations: 62 kB / 0.79 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.6316, allocations: 91.98 kB / 0.7901 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002942/0.6346, allocations: 1.461 MB / 0.7915 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.6346, allocations: 3.938 kB / 0.7915 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.6347, allocations: 39.97 kB / 0.7915 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.699e-05/0.6348, allocations: 49.98 kB / 0.7916 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003934/0.6387, allocations: 1.557 MB / 0.7931 GB, free: 8.324 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.006215/0.645, allocations: 5.023 MB / 0.798 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003264/0.6482, allocations: 1.187 MB / 0.7992 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.6499, allocations: 0.6624 MB / 0.7998 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/0.6512, allocations: 0.9448 MB / 0.8007 GB, free: 64 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002053/0.6533, allocations: 0.7259 MB / 0.8014 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.985e-06/0.6533, allocations: 0 / 0.8014 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.005838/0.6591, allocations: 1.956 MB / 0.8033 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.6592, allocations: 60.06 kB / 0.8034 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.6606, allocations: 1.267 MB / 0.8046 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.6607, allocations: 45.7 kB / 0.8047 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/0.6611, allocations: 0.5716 MB / 0.8052 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.6614, allocations: 288 kB / 0.8055 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/0.6617, allocations: 174.5 kB / 0.8057 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6618, allocations: 349.9 kB / 0.806 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.6633, allocations: 0.5445 MB / 0.8065 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/0.6651, allocations: 0.8169 MB / 0.8073 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003172/0.6683, allocations: 1.344 MB / 0.8087 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.6683, allocations: 4 kB / 0.8087 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003767/0.6721, allocations: 1.51 MB / 0.8101 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.6721, allocations: 8.094 kB / 0.8101 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.6721, allocations: 12.75 kB / 0.8102 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/0.6722, allocations: 15.98 kB / 0.8102 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.6736, allocations: 295.5 kB / 0.8105 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.6736, allocations: 12 kB / 0.8105 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.675, allocations: 218.6 kB / 0.8107 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.89e-05/0.6751, allocations: 51.97 kB / 0.8107 GB, free: 5.562 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0005041/0.6756, allocations: 339.7 kB / 0.811 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.6758, allocations: 134.3 kB / 0.8112 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00378/0.6796, allocations: 1.452 MB / 0.8126 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.6796, allocations: 8 kB / 0.8126 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6796, allocations: 0 / 0.8126 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.6797, allocations: 7.922 kB / 0.8126 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005626/0.6853, allocations: 2.858 MB / 0.8154 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.6853, allocations: 4 kB / 0.8154 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.6866, allocations: 224.2 kB / 0.8156 GB, free: 436 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.507e-05/0.6867, allocations: 8 kB / 0.8156 GB, free: 428 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.6868, allocations: 35.47 kB / 0.8157 GB, free: 396 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-06/0.6868, allocations: 11.98 kB / 0.8157 GB, free: 384 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.6868, allocations: 7.938 kB / 0.8157 GB, free: 376 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005521/0.6923, allocations: 2.303 MB / 0.8179 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005461/0.6929, allocations: 303.2 kB / 0.8182 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/0.6931, allocations: 23.98 kB / 0.8182 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.6943, allocations: 119.9 kB / 0.8184 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.6945, allocations: 68.36 kB / 0.8184 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.349e-05/0.6946, allocations: 35.97 kB / 0.8185 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009921/0.6956, allocations: 0.8762 MB / 0.8193 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.4e-07/0.6956, allocations: 0 / 0.8193 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001031/0.6966, allocations: 315.7 kB / 0.8196 GB, free: 12.25 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (82): * Single equations (assignments): 76 * 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.006791/0.7034, allocations: 3.295 MB / 0.8228 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003891/0.7074, allocations: 1.425 MB / 0.8242 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.7074, allocations: 0 / 0.8242 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.7091, allocations: 0.6638 MB / 0.8249 GB, free: 7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.7117, allocations: 0.6147 MB / 0.8255 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01996/0.7317, allocations: 12.33 MB / 0.8375 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007023/0.7324, allocations: 1.179 MB / 0.8387 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001525/0.734, allocations: 342.2 kB / 0.839 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007495/0.7347, allocations: 499.2 kB / 0.8395 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of SimCode: time 5.41e-07/0.7347, allocations: 0 / 0.8395 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2676/1.002, allocations: 34.3 MB / 0.873 GB, free: 225.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001277/1.003, allocations: 251.7 kB / 0.8732 GB, free: 224.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.536/3.539, allocations: 0 / 0.8732 GB, free: 224.8 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)