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.001643/0.001642, 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.001736/0.001736, allocations: 192.8 kB / 16.25 MB, free: 6.621 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.348/1.348, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002225/0.002225, allocations: 282.2 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9374/0.9374, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001649, allocations: 91.58 kB / 0.5948 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.174, allocations: 86.98 MB / 0.6797 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6247/0.7988, allocations: 191.3 MB / 0.8665 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00922/0.8081, allocations: 5.12 MB / 0.8715 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.8098, allocations: 49.31 kB / 0.8716 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001932/0.8118, allocations: 0.7311 MB / 0.8723 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006447/0.8183, allocations: 2.446 MB / 0.8747 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.821, allocations: 1.004 MB / 0.8757 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003198/0.8242, allocations: 2.625 MB / 0.8782 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.8254, allocations: 0.9051 MB / 0.8791 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.8273, allocations: 1.109 MB / 0.8802 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.8286, allocations: 1.008 MB / 0.8812 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.8287, allocations: 78.12 kB / 0.8813 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003433/0.8322, allocations: 1.853 MB / 0.8831 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004965/0.8327, allocations: 435 kB / 0.8835 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007242/0.8334, allocations: 0.6472 MB / 0.8841 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003701/0.8371, allocations: 2.264 MB / 0.8863 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8371, allocations: 0 / 0.8863 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8371, allocations: 0 / 0.8863 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.765e-05/0.8372, allocations: 0 / 0.8863 GB, free: 2.121 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.004908/0.8421, allocations: 1.927 MB / 0.8882 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.8421, allocations: 10.25 kB / 0.8882 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001796/0.8423, allocations: 147.9 kB / 0.8884 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003874/0.8462, allocations: 0.6577 MB / 0.889 GB, free: 268 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.8477, allocations: 0.8807 MB / 0.8899 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.259e-05/0.8477, allocations: 69.83 kB / 0.8899 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.8479, allocations: 86.05 kB / 0.89 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002981/0.8509, allocations: 1.484 MB / 0.8915 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.8509, allocations: 2.156 kB / 0.8915 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.851, allocations: 34.09 kB / 0.8915 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.207e-05/0.8511, allocations: 48.02 kB / 0.8915 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003873/0.855, allocations: 1.52 MB / 0.893 GB, free: 13.16 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.008084/0.8631, allocations: 5.479 MB / 0.8984 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003795/0.8669, allocations: 1.285 MB / 0.8996 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.8686, allocations: 0.6514 MB / 0.9003 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000881/0.8695, allocations: 0.5812 MB / 0.9008 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001824/0.8713, allocations: 0.7185 MB / 0.9015 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 3.827e-06/0.8713, allocations: 0 / 0.9015 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005496/0.8768, allocations: 1.87 MB / 0.9034 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.8769, allocations: 60.06 kB / 0.9034 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.8783, allocations: 1.242 MB / 0.9046 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.8784, allocations: 41.7 kB / 0.9047 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000408/0.8788, allocations: 0.5869 MB / 0.9053 GB, free: 204 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002751/0.8791, allocations: 272.3 kB / 0.9055 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/0.8794, allocations: 182.5 kB / 0.9057 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.8796, allocations: 345.9 kB / 0.906 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.8811, allocations: 0.5367 MB / 0.9065 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001732/0.8829, allocations: 0.8219 MB / 0.9073 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0031/0.886, allocations: 1.321 MB / 0.9086 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.886, allocations: 4 kB / 0.9086 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003819/0.8898, allocations: 1.503 MB / 0.9101 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.8899, allocations: 8 kB / 0.9101 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.8899, allocations: 8.062 kB / 0.9101 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/0.8899, allocations: 17.98 kB / 0.9101 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.8913, allocations: 291.6 kB / 0.9104 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.8914, allocations: 15.94 kB / 0.9104 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.8928, allocations: 218.7 kB / 0.9106 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-05/0.893, allocations: 47.98 kB / 0.9107 GB, free: 10.4 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.0005369/0.8935, allocations: 348.2 kB / 0.911 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/0.8937, allocations: 134.2 kB / 0.9111 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003673/0.8974, allocations: 1.409 MB / 0.9125 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.8974, allocations: 8 kB / 0.9125 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.8974, allocations: 3.938 kB / 0.9125 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.8974, allocations: 4.078 kB / 0.9125 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005464/0.9029, allocations: 2.797 MB / 0.9153 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.9029, allocations: 12 kB / 0.9153 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.9042, allocations: 223.6 kB / 0.9155 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/0.9042, allocations: 8 kB / 0.9155 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.468e-05/0.9043, allocations: 27.97 kB / 0.9155 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.884e-06/0.9043, allocations: 8 kB / 0.9155 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/0.9043, allocations: 7.938 kB / 0.9155 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005216/0.9095, allocations: 2.252 MB / 0.9177 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006068/0.9101, allocations: 295.2 kB / 0.918 GB, free: 2.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002828/0.9104, allocations: 20 kB / 0.918 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.9116, allocations: 135.8 kB / 0.9182 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.9118, allocations: 64.38 kB / 0.9182 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.757e-05/0.9119, allocations: 35.97 kB / 0.9183 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001023/0.9129, allocations: 0.8522 MB / 0.9191 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9129, allocations: 3.938 kB / 0.9191 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001005/0.9139, allocations: 319.6 kB / 0.9194 GB, free: 1.258 MB / 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.006418/0.9203, allocations: 3.22 MB / 0.9226 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003938/0.9243, allocations: 1.411 MB / 0.9239 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.9243, allocations: 0 / 0.9239 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.926, allocations: 0.6443 MB / 0.9246 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00285/0.9289, allocations: 0.5873 MB / 0.9251 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0204/0.9493, allocations: 12.11 MB / 0.937 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007322/0.9501, allocations: 1.175 MB / 0.9381 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001493/0.9516, allocations: 353.8 kB / 0.9384 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007113/0.9523, allocations: 499.2 kB / 0.9389 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of SimCode: time 8.32e-07/0.9523, allocations: 4 kB / 0.9389 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05226/1.005, allocations: 33.29 MB / 0.9714 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/1.005, allocations: 279.6 kB / 0.9717 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.509/3.514, allocations: 3.938 kB / 0.9717 GB, free: 11.58 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)