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.00105/0.00105, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 194.7 kB / 16.53 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.264/1.264, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8866/0.8866, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 64.78 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1433, allocations: 80.94 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.4202/0.5636, allocations: 193.8 MB / 0.7737 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008569/0.5722, allocations: 5.137 MB / 0.7788 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007201/0.5729, allocations: 47.69 kB / 0.7788 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.5745, allocations: 0.808 MB / 0.7796 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004902/0.5794, allocations: 2.602 MB / 0.7821 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002112/0.5815, allocations: 1.107 MB / 0.7832 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002286/0.5838, allocations: 2.595 MB / 0.7857 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.5849, allocations: 0.8845 MB / 0.7866 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.5862, allocations: 1.086 MB / 0.7877 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009213/0.5871, allocations: 0.9534 MB / 0.7886 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.5872, allocations: 84 kB / 0.7887 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.5897, allocations: 1.781 MB / 0.7904 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003541/0.5901, allocations: 438.7 kB / 0.7908 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005223/0.5906, allocations: 0.6487 MB / 0.7915 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00214/0.5928, allocations: 2.154 MB / 0.7936 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5928, allocations: 0 / 0.7936 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5928, allocations: 0 / 0.7936 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.5928, allocations: 0 / 0.7936 GB, free: 6.66 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.004178/0.597, allocations: 1.928 MB / 0.7955 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.597, allocations: 8.031 kB / 0.7955 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/0.5972, allocations: 143.4 kB / 0.7956 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003991/0.6012, allocations: 0.7044 MB / 0.7963 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.6024, allocations: 0.8902 MB / 0.7972 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/0.6024, allocations: 74.67 kB / 0.7972 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.6026, allocations: 87.91 kB / 0.7973 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002783/0.6054, allocations: 1.465 MB / 0.7987 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.6054, allocations: 4 kB / 0.7987 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.664e-05/0.6055, allocations: 39.97 kB / 0.7988 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-05/0.6056, allocations: 49.98 kB / 0.7988 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003852/0.6094, allocations: 1.553 MB / 0.8004 GB, free: 15.54 MB / 0.6231 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.005789/0.6152, allocations: 5.043 MB / 0.8053 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003185/0.6184, allocations: 1.19 MB / 0.8064 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001673/0.6201, allocations: 0.662 MB / 0.8071 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/0.6213, allocations: 0.941 MB / 0.808 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001929/0.6233, allocations: 0.7264 MB / 0.8087 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 3.076e-06/0.6233, allocations: 0 / 0.8087 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.006018/0.6293, allocations: 1.952 MB / 0.8106 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.6294, allocations: 60.06 kB / 0.8107 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.6308, allocations: 1.272 MB / 0.8119 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-05/0.6309, allocations: 49.7 kB / 0.812 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004318/0.6313, allocations: 0.5677 MB / 0.8125 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.6316, allocations: 280 kB / 0.8128 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002984/0.6319, allocations: 182.5 kB / 0.813 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.632, allocations: 345.9 kB / 0.8133 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.6336, allocations: 0.5445 MB / 0.8138 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/0.6354, allocations: 0.8247 MB / 0.8146 GB, free: 328 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003399/0.6389, allocations: 1.336 MB / 0.8159 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.6389, allocations: 4 kB / 0.8159 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003975/0.6429, allocations: 1.515 MB / 0.8174 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.6429, allocations: 8 kB / 0.8174 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.6429, allocations: 12.84 kB / 0.8174 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.6429, allocations: 12 kB / 0.8174 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.6444, allocations: 291.5 kB / 0.8177 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.818e-05/0.6445, allocations: 19.92 kB / 0.8177 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.6458, allocations: 206.6 kB / 0.8179 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.6459, allocations: 43.98 kB / 0.818 GB, free: 12.78 MB / 0.6387 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.0005094/0.6465, allocations: 338.7 kB / 0.8183 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/0.6467, allocations: 134.3 kB / 0.8184 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004035/0.6507, allocations: 1.451 MB / 0.8199 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.6508, allocations: 8 kB / 0.8199 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.6508, allocations: 0 / 0.8199 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.6508, allocations: 11.86 kB / 0.8199 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006033/0.6568, allocations: 2.864 MB / 0.8227 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.6569, allocations: 4.094 kB / 0.8227 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.6582, allocations: 232 kB / 0.8229 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/0.6582, allocations: 4 kB / 0.8229 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.925e-05/0.6583, allocations: 35.97 kB / 0.8229 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.6583, allocations: 8 kB / 0.8229 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.6583, allocations: 7.938 kB / 0.8229 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00571/0.664, allocations: 2.303 MB / 0.8252 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005061/0.6645, allocations: 307.2 kB / 0.8255 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/0.6648, allocations: 20 kB / 0.8255 GB, free: 4.875 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.6659, allocations: 107.9 kB / 0.8256 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.6661, allocations: 72.36 kB / 0.8257 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.908e-05/0.6662, allocations: 36.06 kB / 0.8257 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001103/0.6673, allocations: 0.8762 MB / 0.8266 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6673, allocations: 0 / 0.8266 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001035/0.6683, allocations: 311.7 kB / 0.8269 GB, free: 3.48 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.007176/0.6755, allocations: 3.292 MB / 0.8301 GB, free: 320 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004195/0.6797, allocations: 1.421 MB / 0.8315 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.6797, allocations: 256 / 0.8315 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00185/0.6816, allocations: 0.6674 MB / 0.8321 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/0.6847, allocations: 0.6128 MB / 0.8327 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02193/0.7066, allocations: 11.99 MB / 0.8444 GB, free: 1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009037/0.7076, allocations: 1.171 MB / 0.8456 GB, free: 15.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001569/0.7091, allocations: 354.1 kB / 0.8459 GB, free: 15.45 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008106/0.71, allocations: 495.2 kB / 0.8464 GB, free: 14.97 MB / 0.67 GB Notification: Performance of SimCode: time 1.021e-06/0.71, allocations: 0 / 0.8464 GB, free: 14.97 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6806/1.391, allocations: 34.62 MB / 0.8802 GB, free: 214 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.473/9.864, allocations: 6.375 kB / 0.8802 GB, free: 214 MB / 0.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)