Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",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.008044/0.008044, allocations: 100.8 kB / 15.73 MB, free: 5.562 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.0018/0.001801, allocations: 195.2 kB / 16.67 MB, free: 5.504 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8786/0.8786, allocations: 143 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 62 kB / 0.5951 GB, free: 12.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.163, allocations: 82.04 MB / 0.6752 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5543/0.7174, allocations: 193.9 MB / 0.8646 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008605/0.726, allocations: 5.156 MB / 0.8696 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.7273, allocations: 51.62 kB / 0.8697 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.7292, allocations: 0.812 MB / 0.8705 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005941/0.7351, allocations: 2.594 MB / 0.873 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.7377, allocations: 1.115 MB / 0.8741 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003204/0.741, allocations: 2.679 MB / 0.8767 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.7423, allocations: 0.9445 MB / 0.8776 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002273/0.7446, allocations: 1.133 MB / 0.8787 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.746, allocations: 0.9846 MB / 0.8797 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.7462, allocations: 88 kB / 0.8798 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003478/0.7497, allocations: 1.793 MB / 0.8815 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004752/0.7502, allocations: 450.6 kB / 0.882 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008692/0.7511, allocations: 0.668 MB / 0.8826 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003956/0.755, allocations: 2.27 MB / 0.8848 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.7551, allocations: 0 / 0.8848 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.435e-06/0.7551, allocations: 0 / 0.8848 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.761e-05/0.7551, allocations: 4 kB / 0.8848 GB, free: 7.328 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00542/0.7605, allocations: 1.957 MB / 0.8867 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 8.294e-05/0.7606, allocations: 8.031 kB / 0.8867 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001891/0.7608, allocations: 147.6 kB / 0.8869 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005657/0.7665, allocations: 0.8915 MB / 0.8878 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/0.7685, allocations: 0.9761 MB / 0.8887 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.279e-05/0.7686, allocations: 70 kB / 0.8888 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002533/0.7689, allocations: 95.89 kB / 0.8889 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004167/0.7731, allocations: 1.579 MB / 0.8904 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.7731, allocations: 4 kB / 0.8904 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.7733, allocations: 39.98 kB / 0.8905 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-05/0.7734, allocations: 53.97 kB / 0.8905 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005433/0.7788, allocations: 1.846 MB / 0.8923 GB, free: 15.51 MB / 0.67 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.009096/0.7879, allocations: 4.722 MB / 0.8969 GB, free: 10.56 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004521/0.7925, allocations: 1.573 MB / 0.8985 GB, free: 8.973 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002282/0.7948, allocations: 0.8508 MB / 0.8993 GB, free: 8.117 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/0.7962, allocations: 0.9452 MB / 0.9002 GB, free: 6.988 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002652/0.7989, allocations: 0.9143 MB / 0.9011 GB, free: 6.062 MB / 0.67 GB Notification: Performance of pre-optimization done (n=95): time 3.737e-06/0.7989, allocations: 0 / 0.9011 GB, free: 6.062 MB / 0.67 GB Notification: Performance of matching and sorting (n=95): time 0.008074/0.807, allocations: 2.454 MB / 0.9035 GB, free: 3.598 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.8071, allocations: 64.34 kB / 0.9036 GB, free: 3.523 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/0.8088, allocations: 1.197 MB / 0.9047 GB, free: 2.316 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001595/0.809, allocations: 45.7 kB / 0.9048 GB, free: 2.266 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006207/0.8096, allocations: 0.5487 MB / 0.9053 GB, free: 1.711 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003623/0.81, allocations: 323.3 kB / 0.9056 GB, free: 1.391 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000343/0.8103, allocations: 186.6 kB / 0.9058 GB, free: 1.203 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002267/0.8105, allocations: 341.9 kB / 0.9061 GB, free: 0.8633 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/0.8126, allocations: 0.6967 MB / 0.9068 GB, free: 168 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002483/0.8151, allocations: 0.9113 MB / 0.9077 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004136/0.8192, allocations: 1.554 MB / 0.9092 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.8193, allocations: 3.938 kB / 0.9092 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004881/0.8242, allocations: 1.776 MB / 0.9109 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.8242, allocations: 8 kB / 0.911 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.8242, allocations: 4 kB / 0.911 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/0.8243, allocations: 11.98 kB / 0.911 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/0.826, allocations: 335.6 kB / 0.9113 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-05/0.826, allocations: 15.94 kB / 0.9113 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.8277, allocations: 242.6 kB / 0.9115 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.8278, allocations: 47.97 kB / 0.9116 GB, free: 11.14 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0005944/0.8284, allocations: 334.8 kB / 0.9119 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/0.8287, allocations: 130.4 kB / 0.912 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004872/0.8336, allocations: 1.808 MB / 0.9138 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.8336, allocations: 15.98 kB / 0.9138 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.8336, allocations: 0 / 0.9138 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.8336, allocations: 7.969 kB / 0.9138 GB, free: 8.828 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007442/0.8411, allocations: 3.336 MB / 0.9171 GB, free: 5.387 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.8411, allocations: 4 kB / 0.9171 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/0.8428, allocations: 279.8 kB / 0.9173 GB, free: 5.109 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.504e-05/0.8428, allocations: 8 kB / 0.9173 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/0.843, allocations: 39.91 kB / 0.9174 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/0.843, allocations: 7.984 kB / 0.9174 GB, free: 5.055 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.843, allocations: 8 kB / 0.9174 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007194/0.8502, allocations: 2.851 MB / 0.9202 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007011/0.8509, allocations: 319.2 kB / 0.9205 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/0.8512, allocations: 24 kB / 0.9205 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/0.8526, allocations: 159.8 kB / 0.9207 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.8528, allocations: 68.45 kB / 0.9207 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.555e-05/0.8529, allocations: 44.47 kB / 0.9208 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001082/0.854, allocations: 0.8276 MB / 0.9216 GB, free: 0.6797 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.563e-06/0.854, allocations: 3.938 kB / 0.9216 GB, free: 0.6758 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001065/0.855, allocations: 343.5 kB / 0.9219 GB, free: 348 kB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * 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.008565/0.8636, allocations: 3.84 MB / 0.9257 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004702/0.8684, allocations: 1.63 MB / 0.9273 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/0.8684, allocations: 0 / 0.9273 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002291/0.8707, allocations: 0.8477 MB / 0.9281 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/0.8735, allocations: 0.5991 MB / 0.9287 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02447/0.898, allocations: 12.05 MB / 0.9404 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008778/0.8989, allocations: 1.183 MB / 0.9416 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001471/0.9004, allocations: 366 kB / 0.9419 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008485/0.9013, allocations: 0.5032 MB / 0.9424 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of SimCode: time 2.886e-06/0.9013, allocations: 0 / 0.9424 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07268/0.974, allocations: 36.31 MB / 0.9779 GB, free: 7.152 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/11.47, allocations: 9.594 kB / 0.9779 GB, free: 7.148 MB / 0.7481 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)