Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.001016/0.001016, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001169/0.001169, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.307/1.307, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001991/0.001991, allocations: 276.2 kB / 290.2 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9056/0.9056, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 92.19 kB / 0.5946 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1573, allocations: 86.98 MB / 0.6795 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5223/0.6797, allocations: 191.5 MB / 0.8666 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009399/0.6891, allocations: 5.183 MB / 0.8717 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.691, allocations: 46.34 kB / 0.8717 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002061/0.6931, allocations: 0.7115 MB / 0.8724 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007258/0.7004, allocations: 2.448 MB / 0.8748 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.7033, allocations: 1.005 MB / 0.8758 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003935/0.7072, allocations: 3.546 MB / 0.8792 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.7085, allocations: 0.8194 MB / 0.88 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.7103, allocations: 0.9982 MB / 0.881 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.7115, allocations: 0.9936 MB / 0.882 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.7116, allocations: 50.31 kB / 0.882 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003593/0.7152, allocations: 2.075 MB / 0.884 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004651/0.7157, allocations: 406.5 kB / 0.8844 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007003/0.7164, allocations: 0.6232 MB / 0.885 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003435/0.7199, allocations: 2.22 MB / 0.8872 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.7199, allocations: 0 / 0.8872 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.42e-07/0.7199, allocations: 0 / 0.8872 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.7199, allocations: 0 / 0.8872 GB, free: 1.457 MB / 0.5919 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.005259/0.7252, allocations: 1.928 MB / 0.8891 GB, free: 24 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.7253, allocations: 14.41 kB / 0.8891 GB, free: 20 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001879/0.7254, allocations: 137.4 kB / 0.8892 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004159/0.7296, allocations: 0.6561 MB / 0.8899 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.7313, allocations: 0.8829 MB / 0.8907 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/0.7313, allocations: 68.06 kB / 0.8908 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.7315, allocations: 85.89 kB / 0.8909 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003181/0.7347, allocations: 1.478 MB / 0.8923 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.7347, allocations: 0 / 0.8923 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.7349, allocations: 32 kB / 0.8924 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.763e-05/0.7349, allocations: 53.98 kB / 0.8924 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004023/0.739, allocations: 1.522 MB / 0.8939 GB, free: 12.2 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.00724/0.7462, allocations: 5.483 MB / 0.8993 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003501/0.7497, allocations: 1.276 MB / 0.9005 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.7514, allocations: 0.6646 MB / 0.9012 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008908/0.7523, allocations: 0.5812 MB / 0.9017 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001768/0.754, allocations: 0.7068 MB / 0.9024 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 3.176e-06/0.754, allocations: 0 / 0.9024 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005426/0.7595, allocations: 1.87 MB / 0.9042 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.7596, allocations: 67.98 kB / 0.9043 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.761, allocations: 1.242 MB / 0.9055 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-05/0.7611, allocations: 45.7 kB / 0.9056 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/0.7615, allocations: 0.5791 MB / 0.9061 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.7618, allocations: 276.1 kB / 0.9064 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002884/0.7621, allocations: 182.5 kB / 0.9066 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.7622, allocations: 341.9 kB / 0.9069 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/0.7637, allocations: 0.5405 MB / 0.9074 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.7654, allocations: 0.8174 MB / 0.9082 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003056/0.7685, allocations: 1.328 MB / 0.9095 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.7685, allocations: 0 / 0.9095 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003705/0.7722, allocations: 1.495 MB / 0.911 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.7722, allocations: 8 kB / 0.911 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.7723, allocations: 8 kB / 0.911 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/0.7723, allocations: 12 kB / 0.911 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.7737, allocations: 307.7 kB / 0.9113 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.7737, allocations: 12.09 kB / 0.9113 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.7752, allocations: 220.2 kB / 0.9115 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.613e-05/0.7753, allocations: 51.97 kB / 0.9116 GB, free: 9.43 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0005312/0.7758, allocations: 335.7 kB / 0.9119 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.776, allocations: 138.2 kB / 0.912 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003579/0.7796, allocations: 1.408 MB / 0.9134 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.7796, allocations: 8 kB / 0.9134 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.7796, allocations: 0 / 0.9134 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.7796, allocations: 3.984 kB / 0.9134 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005654/0.7853, allocations: 2.803 MB / 0.9161 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.7853, allocations: 4 kB / 0.9161 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.7866, allocations: 224 kB / 0.9164 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/0.7866, allocations: 12 kB / 0.9164 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.901e-05/0.7867, allocations: 28.8 kB / 0.9164 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.7867, allocations: 11.98 kB / 0.9164 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.7867, allocations: 7.938 kB / 0.9164 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00557/0.7923, allocations: 2.24 MB / 0.9186 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007784/0.7931, allocations: 295.2 kB / 0.9189 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.7933, allocations: 27.98 kB / 0.9189 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.7944, allocations: 132.6 kB / 0.919 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.7946, allocations: 64.36 kB / 0.9191 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-05/0.7947, allocations: 35.97 kB / 0.9191 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001017/0.7957, allocations: 0.8483 MB / 0.92 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7957, allocations: 4 kB / 0.92 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001071/0.7968, allocations: 323.6 kB / 0.9203 GB, free: 304 kB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.006715/0.8035, allocations: 3.226 MB / 0.9234 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003579/0.8071, allocations: 1.283 MB / 0.9247 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.8071, allocations: 0 / 0.9247 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.8088, allocations: 0.6326 MB / 0.9253 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003034/0.8119, allocations: 0.5671 MB / 0.9258 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02197/0.8339, allocations: 12.11 MB / 0.9377 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008519/0.8348, allocations: 1.171 MB / 0.9388 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001505/0.8363, allocations: 341.9 kB / 0.9391 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007597/0.837, allocations: 0.4914 MB / 0.9396 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of SimCode: time 9.92e-07/0.8371, allocations: 0 / 0.9396 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05406/0.8911, allocations: 32.45 MB / 0.9713 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002576/0.8914, allocations: 274.2 kB / 0.9716 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.479/3.37, allocations: 2.25 kB / 0.9716 GB, free: 11.6 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)