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.006568/0.006568, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001103/0.001103, allocations: 202 kB / 16.68 MB, free: 5.973 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.223/1.223, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.8881/0.8881, allocations: 143 MB / 433.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 63.91 kB / 0.5951 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3254, allocations: 82.03 MB / 0.6752 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1677/0.4932, allocations: 193.9 MB / 0.8646 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.333/0.8262, allocations: 5.145 MB / 0.8696 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009617/0.8272, allocations: 46.31 kB / 0.8696 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.8289, allocations: 0.8127 MB / 0.8704 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005203/0.8341, allocations: 2.598 MB / 0.873 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.8364, allocations: 1.119 MB / 0.8741 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00292/0.8394, allocations: 2.68 MB / 0.8767 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.8405, allocations: 0.9391 MB / 0.8776 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.8421, allocations: 1.105 MB / 0.8787 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.8434, allocations: 0.9923 MB / 0.8797 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.8436, allocations: 86.44 kB / 0.8797 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003259/0.8469, allocations: 1.796 MB / 0.8815 GB, free: 1.707 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004165/0.8473, allocations: 444.3 kB / 0.8819 GB, free: 1.707 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006864/0.848, allocations: 0.665 MB / 0.8826 GB, free: 1.707 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002753/0.8508, allocations: 2.272 MB / 0.8848 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.8508, allocations: 0.9062 kB / 0.8848 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8508, allocations: 0 / 0.8848 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.692e-05/0.8508, allocations: 0 / 0.8848 GB, free: 1.562 MB / 0.6856 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.00456/0.8554, allocations: 1.968 MB / 0.8867 GB, free: 16.62 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.8554, allocations: 9.594 kB / 0.8867 GB, free: 16.62 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001533/0.8556, allocations: 135.7 kB / 0.8868 GB, free: 16.58 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005274/0.8609, allocations: 0.9012 MB / 0.8877 GB, free: 16.5 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.8624, allocations: 0.9672 MB / 0.8887 GB, free: 16.12 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.37e-05/0.8624, allocations: 68.12 kB / 0.8887 GB, free: 16.12 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.8626, allocations: 95.41 kB / 0.8888 GB, free: 16.11 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00324/0.8659, allocations: 1.585 MB / 0.8904 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.8659, allocations: 0 / 0.8904 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.866, allocations: 40 kB / 0.8904 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-05/0.8661, allocations: 47.84 kB / 0.8905 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004806/0.8709, allocations: 1.849 MB / 0.8923 GB, free: 15.98 MB / 0.7012 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.006864/0.8778, allocations: 4.733 MB / 0.8969 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003957/0.8817, allocations: 1.57 MB / 0.8984 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002055/0.8838, allocations: 0.8481 MB / 0.8992 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/0.885, allocations: 0.9415 MB / 0.9002 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002193/0.8872, allocations: 0.9133 MB / 0.9011 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=95): time 2.605e-06/0.8872, allocations: 0 / 0.9011 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95): time 0.007069/0.8943, allocations: 2.458 MB / 0.9035 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.8943, allocations: 61.34 kB / 0.9035 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.8954, allocations: 1.201 MB / 0.9047 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.752e-05/0.8955, allocations: 51.08 kB / 0.9047 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.8959, allocations: 0.5347 MB / 0.9053 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.8961, allocations: 330.7 kB / 0.9056 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003023/0.8964, allocations: 183.1 kB / 0.9057 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.8965, allocations: 345.7 kB / 0.9061 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/0.8985, allocations: 0.7045 MB / 0.9068 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/0.9007, allocations: 0.9074 MB / 0.9077 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003992/0.9047, allocations: 1.553 MB / 0.9092 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.9047, allocations: 2.406 kB / 0.9092 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004478/0.9092, allocations: 1.785 MB / 0.9109 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.9092, allocations: 5 kB / 0.9109 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.9092, allocations: 6.562 kB / 0.9109 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.9093, allocations: 8.125 kB / 0.9109 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.911, allocations: 342.5 kB / 0.9113 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.911, allocations: 13.38 kB / 0.9113 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.9125, allocations: 238.6 kB / 0.9115 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.93e-05/0.9126, allocations: 48.06 kB / 0.9115 GB, free: 11.36 MB / 0.7012 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.0004677/0.9131, allocations: 334.2 kB / 0.9119 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.9133, allocations: 138.5 kB / 0.912 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004706/0.918, allocations: 1.803 MB / 0.9138 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.918, allocations: 10.12 kB / 0.9138 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9181, allocations: 0 / 0.9138 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.9181, allocations: 4.781 kB / 0.9138 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006504/0.9246, allocations: 3.332 MB / 0.917 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.9246, allocations: 12.05 kB / 0.917 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/0.9262, allocations: 289.7 kB / 0.9173 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.9262, allocations: 7.906 kB / 0.9173 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.565e-05/0.9263, allocations: 32.33 kB / 0.9174 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/0.9263, allocations: 9.766 kB / 0.9174 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.9263, allocations: 7.312 kB / 0.9174 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006719/0.933, allocations: 2.839 MB / 0.9201 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005617/0.9336, allocations: 331.8 kB / 0.9205 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.9338, allocations: 25.14 kB / 0.9205 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.9351, allocations: 156.7 kB / 0.9206 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.9353, allocations: 72.16 kB / 0.9207 GB, free: 9.879 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.244e-05/0.9354, allocations: 45.19 kB / 0.9207 GB, free: 9.879 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007903/0.9362, allocations: 0.8293 MB / 0.9216 GB, free: 9.77 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9362, allocations: 0 / 0.9216 GB, free: 9.77 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009319/0.9371, allocations: 339.4 kB / 0.9219 GB, free: 9.746 MB / 0.7012 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.008128/0.9452, allocations: 3.826 MB / 0.9256 GB, free: 8.668 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004355/0.9496, allocations: 1.637 MB / 0.9272 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.9496, allocations: 6.109 kB / 0.9272 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002177/0.9518, allocations: 0.8348 MB / 0.928 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/0.9543, allocations: 0.61 MB / 0.9286 GB, free: 8.234 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02091/0.9752, allocations: 12.04 MB / 0.9404 GB, free: 1.625 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/0.9759, allocations: 1.19 MB / 0.9415 GB, free: 448 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001285/0.9772, allocations: 362 kB / 0.9419 GB, free: 84 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006965/0.9779, allocations: 0.5034 MB / 0.9424 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of SimCode: time 6.52e-07/0.9779, allocations: 0 / 0.9424 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09665/1.075, allocations: 35.75 MB / 0.9773 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/12.2, allocations: 11.5 kB / 0.9773 GB, free: 12.74 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)