Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.00724/0.00724, allocations: 103.6 kB / 15.73 MB, free: 6.445 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.00172/0.001721, allocations: 190.6 kB / 16.67 MB, free: 6.355 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.9879/0.9879, allocations: 143 MB / 433.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 64.09 kB / 0.5951 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.4538, allocations: 82.04 MB / 0.6752 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03613/0.49, allocations: 29.34 MB / 0.7039 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01139/0.5014, allocations: 6.875 MB / 0.7106 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/0.5032, allocations: 51.62 kB / 0.7106 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.5052, allocations: 0.6836 MB / 0.7113 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004298/0.5095, allocations: 1.462 MB / 0.7127 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00323/0.5127, allocations: 1.156 MB / 0.7138 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004402/0.5171, allocations: 2.469 MB / 0.7162 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.5185, allocations: 0.7926 MB / 0.717 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.5207, allocations: 1.043 MB / 0.718 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001478/0.5222, allocations: 0.813 MB / 0.7188 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002645/0.5225, allocations: 71.94 kB / 0.7189 GB, free: 9.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/0.5246, allocations: 0.8188 MB / 0.7197 GB, free: 8.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004137/0.5251, allocations: 275 kB / 0.72 GB, free: 8.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008745/0.5259, allocations: 0.5475 MB / 0.7205 GB, free: 7.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003187/0.5291, allocations: 1.666 MB / 0.7221 GB, free: 6.258 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5292, allocations: 0 / 0.7221 GB, free: 6.258 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.998e-06/0.5292, allocations: 0 / 0.7221 GB, free: 6.258 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.237e-05/0.5292, allocations: 7.938 kB / 0.7221 GB, free: 6.25 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002742/0.532, allocations: 1.57 MB / 0.7237 GB, free: 4.625 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.532, allocations: 15.97 kB / 0.7237 GB, free: 4.609 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001234/0.5321, allocations: 118.7 kB / 0.7238 GB, free: 4.484 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003382/0.5355, allocations: 0.5845 MB / 0.7244 GB, free: 3.898 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.5371, allocations: 0.8796 MB / 0.7252 GB, free: 2.961 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.435e-05/0.5372, allocations: 62.12 kB / 0.7253 GB, free: 2.902 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.5374, allocations: 75.98 kB / 0.7254 GB, free: 2.828 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/0.5398, allocations: 1.096 MB / 0.7264 GB, free: 1.648 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.5398, allocations: 7.938 kB / 0.7264 GB, free: 1.641 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-05/0.5399, allocations: 35.98 kB / 0.7265 GB, free: 1.605 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.5399, allocations: 16 kB / 0.7265 GB, free: 1.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00289/0.5428, allocations: 0.9923 MB / 0.7275 GB, free: 0.5977 MB / 0.545 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.005898/0.5487, allocations: 4.94 MB / 0.7323 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002797/0.5515, allocations: 0.9035 MB / 0.7332 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/0.5529, allocations: 490.2 kB / 0.7336 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/0.5544, allocations: 1.592 MB / 0.7352 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001669/0.5561, allocations: 0.5768 MB / 0.7357 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 3.346e-06/0.5561, allocations: 0 / 0.7357 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.004637/0.5607, allocations: 1.481 MB / 0.7372 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.5608, allocations: 59.97 kB / 0.7372 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.5623, allocations: 1.112 MB / 0.7383 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.026e-05/0.5624, allocations: 41.7 kB / 0.7384 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004754/0.5629, allocations: 0.555 MB / 0.7389 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.5631, allocations: 209 kB / 0.7391 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002683/0.5634, allocations: 166.5 kB / 0.7393 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.5635, allocations: 334 kB / 0.7396 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.5649, allocations: 449.6 kB / 0.74 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.5665, allocations: 0.7164 MB / 0.7407 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002917/0.5694, allocations: 1.12 MB / 0.7418 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.5695, allocations: 0 / 0.7418 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003463/0.5729, allocations: 1.274 MB / 0.7431 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.573, allocations: 8 kB / 0.7431 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.573, allocations: 8 kB / 0.7431 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/0.573, allocations: 12.75 kB / 0.7431 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.5742, allocations: 275.5 kB / 0.7434 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.902e-05/0.5743, allocations: 19.88 kB / 0.7434 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.5756, allocations: 183 kB / 0.7435 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.5757, allocations: 43.97 kB / 0.7436 GB, free: 15.13 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0005136/0.5762, allocations: 287.8 kB / 0.7439 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000276/0.5765, allocations: 122.4 kB / 0.744 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003693/0.5802, allocations: 1.362 MB / 0.7453 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/0.5802, allocations: 15.98 kB / 0.7453 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.5803, allocations: 96 / 0.7453 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.5803, allocations: 7.922 kB / 0.7453 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005362/0.5856, allocations: 2.385 MB / 0.7477 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/0.5857, allocations: 4 kB / 0.7477 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.5867, allocations: 183.9 kB / 0.7478 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.649e-05/0.5867, allocations: 8 kB / 0.7478 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.289e-05/0.5868, allocations: 27.97 kB / 0.7479 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-06/0.5868, allocations: 4 kB / 0.7479 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.5869, allocations: 7.922 kB / 0.7479 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005041/0.5919, allocations: 1.969 MB / 0.7498 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006189/0.5925, allocations: 283.3 kB / 0.7501 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002819/0.5928, allocations: 16 kB / 0.7501 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.5939, allocations: 103.9 kB / 0.7502 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.5941, allocations: 52.42 kB / 0.7502 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-05/0.5942, allocations: 43.97 kB / 0.7503 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001293/0.5955, allocations: 0.7599 MB / 0.751 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5955, allocations: 0 / 0.751 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001272/0.5968, allocations: 339.6 kB / 0.7513 GB, free: 7.023 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.006993/0.6038, allocations: 3.093 MB / 0.7544 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00331/0.6071, allocations: 1.122 MB / 0.7555 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/0.6071, allocations: 0 / 0.7555 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.6087, allocations: 0.5736 MB / 0.756 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/0.611, allocations: 453.3 kB / 0.7565 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01864/0.6297, allocations: 9.571 MB / 0.7658 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007666/0.6305, allocations: 1.104 MB / 0.7669 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009766/0.6315, allocations: 248.2 kB / 0.7671 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006599/0.6321, allocations: 467.2 kB / 0.7676 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of SimCode: time 9.02e-07/0.6321, allocations: 7.875 kB / 0.7676 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06544/0.6976, allocations: 31.38 MB / 0.7982 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.891/10.59, allocations: 10.11 kB / 0.7982 GB, free: 7.176 MB / 0.6231 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)