Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_TSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_dev_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.00789/0.00789, allocations: 98.06 kB / 15.73 MB, free: 6.055 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.001945/0.001945, allocations: 195.4 kB / 16.68 MB, free: 5.969 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8473/0.8473, allocations: 135.6 MB / 426.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 61.25 kB / 0.5858 GB, free: 21.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1556, allocations: 81.03 MB / 0.6649 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5715/0.7271, allocations: 193.8 MB / 0.8542 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009422/0.7366, allocations: 5.135 MB / 0.8592 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/0.7385, allocations: 48.03 kB / 0.8592 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002529/0.7411, allocations: 0.8112 MB / 0.86 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007804/0.749, allocations: 2.598 MB / 0.8626 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003238/0.7522, allocations: 1.115 MB / 0.8637 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004451/0.7567, allocations: 2.589 MB / 0.8662 GB, free: 328 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00203/0.7588, allocations: 0.8961 MB / 0.8671 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002797/0.7616, allocations: 1.086 MB / 0.8681 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002199/0.7638, allocations: 0.9573 MB / 0.8691 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003677/0.7642, allocations: 80 kB / 0.8691 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004403/0.7686, allocations: 1.781 MB / 0.8709 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007365/0.7694, allocations: 438.6 kB / 0.8713 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.7707, allocations: 0.6527 MB / 0.8719 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004913/0.7756, allocations: 2.193 MB / 0.8741 GB, free: 8.215 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7756, allocations: 0 / 0.8741 GB, free: 8.215 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.963e-06/0.7756, allocations: 4 kB / 0.8741 GB, free: 8.211 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.792e-05/0.7757, allocations: 0 / 0.8741 GB, free: 8.211 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.00582/0.7815, allocations: 1.984 MB / 0.876 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.7816, allocations: 9.109 kB / 0.876 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002525/0.7819, allocations: 143.4 kB / 0.8762 GB, free: 6.016 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004466/0.7863, allocations: 0.7091 MB / 0.8768 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.7884, allocations: 0.9694 MB / 0.8778 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.916e-05/0.7885, allocations: 66 kB / 0.8779 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002468/0.7887, allocations: 95.97 kB / 0.8779 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003667/0.7924, allocations: 1.461 MB / 0.8794 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.7925, allocations: 3.938 kB / 0.8794 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.7926, allocations: 35.98 kB / 0.8794 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.756e-05/0.7927, allocations: 49.98 kB / 0.8795 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004497/0.7972, allocations: 1.553 MB / 0.881 GB, free: 0.9609 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.007981/0.8052, allocations: 5.028 MB / 0.8859 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00366/0.8089, allocations: 1.193 MB / 0.887 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001848/0.8108, allocations: 0.6585 MB / 0.8877 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/0.8122, allocations: 0.9449 MB / 0.8886 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00214/0.8143, allocations: 0.7225 MB / 0.8893 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 3.847e-06/0.8143, allocations: 0 / 0.8893 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.006552/0.8209, allocations: 1.964 MB / 0.8912 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.821, allocations: 60.06 kB / 0.8913 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/0.8229, allocations: 1.264 MB / 0.8925 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.8231, allocations: 49.7 kB / 0.8926 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005452/0.8236, allocations: 0.5802 MB / 0.8931 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003391/0.824, allocations: 289.5 kB / 0.8934 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/0.8244, allocations: 186.5 kB / 0.8936 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.8245, allocations: 349.9 kB / 0.8939 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001774/0.8263, allocations: 0.5484 MB / 0.8945 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/0.8283, allocations: 0.8174 MB / 0.8953 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003685/0.832, allocations: 1.348 MB / 0.8966 GB, free: 268 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/0.8321, allocations: 4 kB / 0.8966 GB, free: 264 kB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004405/0.8365, allocations: 1.511 MB / 0.8981 GB, free: 14.73 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.8365, allocations: 8 kB / 0.8981 GB, free: 14.73 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.8365, allocations: 8.625 kB / 0.8981 GB, free: 14.72 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.011e-05/0.8366, allocations: 12 kB / 0.8981 GB, free: 14.71 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.8381, allocations: 296 kB / 0.8984 GB, free: 14.42 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.1e-05/0.8381, allocations: 15.94 kB / 0.8984 GB, free: 14.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.8396, allocations: 207 kB / 0.8986 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.8398, allocations: 55.66 kB / 0.8986 GB, free: 14.15 MB / 0.67 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.0006882/0.8405, allocations: 339.7 kB / 0.899 GB, free: 13.81 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003698/0.8408, allocations: 143.1 kB / 0.8991 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004355/0.8452, allocations: 1.446 MB / 0.9005 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.8452, allocations: 11.94 kB / 0.9005 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.8453, allocations: 7.938 kB / 0.9005 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/0.8453, allocations: 7.984 kB / 0.9005 GB, free: 12.19 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006567/0.8519, allocations: 2.858 MB / 0.9033 GB, free: 9.227 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.8519, allocations: 8.484 kB / 0.9033 GB, free: 9.219 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.8532, allocations: 223.7 kB / 0.9035 GB, free: 9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.679e-05/0.8532, allocations: 7.984 kB / 0.9036 GB, free: 8.992 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.8534, allocations: 28.08 kB / 0.9036 GB, free: 8.965 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.265e-05/0.8534, allocations: 15.92 kB / 0.9036 GB, free: 8.949 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/0.8534, allocations: 11.88 kB / 0.9036 GB, free: 8.938 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005915/0.8593, allocations: 2.307 MB / 0.9059 GB, free: 6.566 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006417/0.86, allocations: 311.9 kB / 0.9062 GB, free: 6.242 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000286/0.8603, allocations: 27.98 kB / 0.9062 GB, free: 6.215 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.8615, allocations: 103.9 kB / 0.9063 GB, free: 6.113 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.8616, allocations: 68.36 kB / 0.9064 GB, free: 6.047 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.309e-05/0.8617, allocations: 35.97 kB / 0.9064 GB, free: 6.012 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00125/0.863, allocations: 0.8723 MB / 0.9072 GB, free: 5.137 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.863, allocations: 4 kB / 0.9072 GB, free: 5.133 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001093/0.8641, allocations: 315.7 kB / 0.9075 GB, free: 4.824 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.008075/0.8722, allocations: 3.312 MB / 0.9108 GB, free: 1.613 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00398/0.8762, allocations: 1.316 MB / 0.9121 GB, free: 304 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.8762, allocations: 0 / 0.9121 GB, free: 304 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001946/0.8782, allocations: 0.6561 MB / 0.9127 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003315/0.8815, allocations: 0.6183 MB / 0.9133 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02317/0.9047, allocations: 11.15 MB / 0.9242 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.9059, allocations: 1.175 MB / 0.9253 GB, free: 2.266 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001442/0.9073, allocations: 350.1 kB / 0.9257 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009011/0.9082, allocations: 499.2 kB / 0.9262 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of SimCode: time 1.132e-06/0.9083, allocations: 0 / 0.9262 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0741/0.9824, allocations: 35.01 MB / 0.9603 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.76, allocations: 11.69 kB / 0.9604 GB, free: 14.73 MB / 0.7325 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)