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.009868/0.009868, allocations: 102.1 kB / 15.73 MB, free: 6.039 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.001908/0.001908, allocations: 194.2 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.194/2.194, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.272/1.272, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002083, allocations: 67.2 kB / 0.5809 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2566, allocations: 80.21 MB / 0.6592 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 1.207/1.464, allocations: 193.8 MB / 0.8485 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01464/1.478, allocations: 5.136 MB / 0.8535 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002852/1.481, allocations: 47.19 kB / 0.8536 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003479/1.485, allocations: 0.8106 MB / 0.8544 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01174/1.497, allocations: 2.607 MB / 0.8569 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005261/1.502, allocations: 1.107 MB / 0.858 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007635/1.51, allocations: 2.598 MB / 0.8605 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002941/1.513, allocations: 0.8937 MB / 0.8614 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004627/1.517, allocations: 1.103 MB / 0.8625 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0031/1.52, allocations: 0.965 MB / 0.8634 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004198/1.521, allocations: 80 kB / 0.8635 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006949/1.528, allocations: 1.785 MB / 0.8652 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001117/1.529, allocations: 438.6 kB / 0.8656 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001716/1.531, allocations: 0.6488 MB / 0.8663 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006975/1.538, allocations: 2.189 MB / 0.8684 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/1.538, allocations: 0 / 0.8684 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.314e-06/1.538, allocations: 0 / 0.8684 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.356e-05/1.538, allocations: 4 kB / 0.8684 GB, free: 15.89 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.009187/1.547, allocations: 1.93 MB / 0.8703 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.658e-05/1.547, allocations: 11.97 kB / 0.8703 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002989/1.547, allocations: 135.5 kB / 0.8704 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007532/1.555, allocations: 0.7083 MB / 0.8711 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003598/1.559, allocations: 0.9527 MB / 0.8721 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/1.559, allocations: 66 kB / 0.8721 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003676/1.559, allocations: 87.98 kB / 0.8722 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005554/1.565, allocations: 1.465 MB / 0.8736 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/1.565, allocations: 0 / 0.8736 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/1.565, allocations: 36 kB / 0.8737 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/1.565, allocations: 53.92 kB / 0.8737 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00699/1.572, allocations: 1.561 MB / 0.8753 GB, free: 8.711 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.01244/1.585, allocations: 5.017 MB / 0.8802 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005428/1.59, allocations: 1.186 MB / 0.8813 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002835/1.593, allocations: 0.6668 MB / 0.882 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00193/1.595, allocations: 0.9371 MB / 0.8829 GB, free: 456 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003121/1.598, allocations: 0.7263 MB / 0.8836 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 7.343e-06/1.598, allocations: 0 / 0.8836 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.009785/1.608, allocations: 1.952 MB / 0.8855 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.672e-05/1.608, allocations: 60.06 kB / 0.8856 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/1.611, allocations: 1.279 MB / 0.8868 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002621/1.611, allocations: 41.7 kB / 0.8868 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007468/1.612, allocations: 0.5716 MB / 0.8874 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005119/1.612, allocations: 284 kB / 0.8877 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000528/1.613, allocations: 186.5 kB / 0.8878 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000183/1.613, allocations: 337.9 kB / 0.8882 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002652/1.616, allocations: 0.5523 MB / 0.8887 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003019/1.619, allocations: 0.8169 MB / 0.8895 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005415/1.624, allocations: 1.34 MB / 0.8908 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/1.624, allocations: 4 kB / 0.8908 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006847/1.631, allocations: 1.514 MB / 0.8923 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/1.631, allocations: 8 kB / 0.8923 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/1.631, allocations: 4 kB / 0.8923 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.213e-05/1.631, allocations: 12 kB / 0.8923 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002387/1.634, allocations: 296.3 kB / 0.8926 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.724e-05/1.634, allocations: 19.88 kB / 0.8926 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/1.637, allocations: 206.7 kB / 0.8928 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002674/1.637, allocations: 55.91 kB / 0.8929 GB, free: 5.934 MB / 0.6544 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.001289/1.638, allocations: 337 kB / 0.8932 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005364/1.639, allocations: 134.3 kB / 0.8933 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006442/1.645, allocations: 1.448 MB / 0.8947 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/1.645, allocations: 9.125 kB / 0.8947 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/1.645, allocations: 3.938 kB / 0.8947 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/1.645, allocations: 3.984 kB / 0.8948 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/1.656, allocations: 2.862 MB / 0.8975 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/1.656, allocations: 8.094 kB / 0.8976 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002079/1.658, allocations: 219.7 kB / 0.8978 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-05/1.658, allocations: 8 kB / 0.8978 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/1.658, allocations: 31.97 kB / 0.8978 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-05/1.658, allocations: 11.81 kB / 0.8978 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.299e-05/1.658, allocations: 11.94 kB / 0.8978 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009217/1.667, allocations: 2.307 MB / 0.9001 GB, free: 14.37 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.668, allocations: 299.3 kB / 0.9004 GB, free: 14.06 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003214/1.669, allocations: 20 kB / 0.9004 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/1.67, allocations: 115.9 kB / 0.9005 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/1.671, allocations: 60.42 kB / 0.9005 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/1.671, allocations: 31.98 kB / 0.9006 GB, free: 13.84 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001819/1.673, allocations: 0.8878 MB / 0.9014 GB, free: 12.95 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.61e-07/1.673, allocations: 0 / 0.9014 GB, free: 12.95 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001804/1.675, allocations: 315.7 kB / 0.9017 GB, free: 12.64 MB / 0.67 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.01128/1.686, allocations: 3.284 MB / 0.905 GB, free: 9.477 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006153/1.692, allocations: 1.323 MB / 0.9062 GB, free: 8.156 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/1.692, allocations: 0 / 0.9062 GB, free: 8.156 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002927/1.695, allocations: 0.656 MB / 0.9069 GB, free: 7.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004753/1.7, allocations: 0.6266 MB / 0.9075 GB, free: 6.895 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0366/1.736, allocations: 11.11 MB / 0.9184 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/1.738, allocations: 1.175 MB / 0.9195 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002148/1.74, allocations: 346.2 kB / 0.9198 GB, free: 9.836 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/1.741, allocations: 495.2 kB / 0.9203 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of SimCode: time 1.743e-06/1.741, allocations: 4 kB / 0.9203 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1231/1.864, allocations: 35.55 MB / 0.955 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.31/19.18, allocations: 7.875 kB / 0.955 GB, free: 6.098 MB / 0.7169 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)