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: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 101.8 kB / 16.36 MB, free: 5.824 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.001204/0.001204, allocations: 193.3 kB / 17.29 MB, free: 5.48 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.14 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.8516/0.8516, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001265, allocations: 67.91 kB / 0.5156 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3159, allocations: 82.02 MB / 0.5957 GB, free: 16.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4701/0.7861, allocations: 193.9 MB / 0.7851 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00741/0.7935, allocations: 5.159 MB / 0.7901 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007997/0.7944, allocations: 46 kB / 0.7901 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.796, allocations: 0.814 MB / 0.7909 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004776/0.8007, allocations: 2.597 MB / 0.7935 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.8028, allocations: 1.114 MB / 0.7946 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002452/0.8053, allocations: 2.68 MB / 0.7972 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.8064, allocations: 0.9446 MB / 0.7981 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.8078, allocations: 1.11 MB / 0.7992 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009383/0.8088, allocations: 0.9882 MB / 0.8001 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.8089, allocations: 87.78 kB / 0.8002 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002728/0.8117, allocations: 1.787 MB / 0.802 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003203/0.812, allocations: 448.2 kB / 0.8024 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005012/0.8125, allocations: 0.6684 MB / 0.8031 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.8148, allocations: 2.265 MB / 0.8053 GB, free: 480 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.8148, allocations: 0 / 0.8053 GB, free: 480 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8148, allocations: 0.9375 kB / 0.8053 GB, free: 480 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.67e-05/0.8148, allocations: 0 / 0.8053 GB, free: 480 kB / 0.5762 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.004378/0.8192, allocations: 1.966 MB / 0.8072 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.8193, allocations: 10.12 kB / 0.8072 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005068/0.8243, allocations: 0.8994 MB / 0.8081 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.8259, allocations: 0.9703 MB / 0.809 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.022e-05/0.8259, allocations: 69.62 kB / 0.8091 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.8261, allocations: 87.56 kB / 0.8092 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003186/0.8293, allocations: 1.587 MB / 0.8107 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.8293, allocations: 3.094 kB / 0.8107 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-05/0.8294, allocations: 32.62 kB / 0.8108 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.972e-05/0.8295, allocations: 54.92 kB / 0.8108 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004462/0.834, allocations: 1.851 MB / 0.8126 GB, free: 14.9 MB / 0.5919 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.007352/0.8413, allocations: 4.732 MB / 0.8172 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003897/0.8452, allocations: 1.558 MB / 0.8188 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001992/0.8472, allocations: 0.8512 MB / 0.8196 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/0.8485, allocations: 0.9443 MB / 0.8205 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002186/0.8507, allocations: 0.915 MB / 0.8214 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 3.026e-06/0.8507, allocations: 0 / 0.8214 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.006953/0.8576, allocations: 2.448 MB / 0.8238 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.8577, allocations: 71.14 kB / 0.8239 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.859, allocations: 1.198 MB / 0.825 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-05/0.8591, allocations: 52.17 kB / 0.8251 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004627/0.8596, allocations: 0.5398 MB / 0.8256 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.8599, allocations: 323.8 kB / 0.8259 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003503/0.8603, allocations: 184.2 kB / 0.8261 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.8604, allocations: 350.8 kB / 0.8264 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002031/0.8624, allocations: 0.7035 MB / 0.8271 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002153/0.8646, allocations: 0.9073 MB / 0.828 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003859/0.8685, allocations: 1.559 MB / 0.8295 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.8685, allocations: 3 kB / 0.8295 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004534/0.873, allocations: 1.777 MB / 0.8313 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.873, allocations: 8 kB / 0.8313 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.8731, allocations: 4 kB / 0.8313 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.8731, allocations: 8 kB / 0.8313 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/0.8748, allocations: 340.4 kB / 0.8316 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-05/0.8748, allocations: 11.09 kB / 0.8316 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.8763, allocations: 246.5 kB / 0.8319 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.8764, allocations: 47.97 kB / 0.8319 GB, free: 4.91 MB / 0.5919 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.0004599/0.8768, allocations: 328.5 kB / 0.8322 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.877, allocations: 134.4 kB / 0.8323 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004636/0.8817, allocations: 1.807 MB / 0.8341 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.8817, allocations: 12 kB / 0.8341 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.8817, allocations: 0 / 0.8341 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.8817, allocations: 11.91 kB / 0.8341 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006856/0.8886, allocations: 3.323 MB / 0.8374 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.8886, allocations: 4 kB / 0.8374 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/0.8902, allocations: 289.5 kB / 0.8377 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.8902, allocations: 8 kB / 0.8377 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.92e-05/0.8903, allocations: 31.97 kB / 0.8377 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/0.8903, allocations: 15.08 kB / 0.8377 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.8904, allocations: 4 kB / 0.8377 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006654/0.897, allocations: 2.841 MB / 0.8405 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005832/0.8976, allocations: 331.1 kB / 0.8408 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/0.8978, allocations: 28.12 kB / 0.8408 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.8991, allocations: 155.8 kB / 0.841 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.8993, allocations: 71.59 kB / 0.841 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-05/0.8994, allocations: 39.97 kB / 0.8411 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009103/0.9003, allocations: 0.8315 MB / 0.8419 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9003, allocations: 0 / 0.8419 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009894/0.9013, allocations: 347.6 kB / 0.8422 GB, free: 10.23 MB / 0.6075 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.001353/0.9027, allocations: 0.5328 MB / 0.8427 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004241/0.9069, allocations: 1.637 MB / 0.8443 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.907, allocations: 8.25 kB / 0.8444 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002118/0.9091, allocations: 0.8288 MB / 0.8452 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.9114, allocations: 0.6184 MB / 0.8458 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005395/0.9168, allocations: 2.971 MB / 0.8487 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007111/0.9176, allocations: 1.183 MB / 0.8498 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001161/0.9187, allocations: 362 kB / 0.8502 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004378/0.9192, allocations: 115.4 kB / 0.8503 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.9192, allocations: 0 / 0.8503 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of Templates: time 0.03557/0.9548, allocations: 23.82 MB / 0.8735 GB, free: 10.77 MB / 0.6387 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)