Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.553/1.553, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 191.3 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.891/1.891, allocations: 205.4 MB / 0.5775 GB, free: 20.58 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008573/0.0008572, allocations: 102.2 kB / 0.6821 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003529, allocations: 12.58 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2502, allocations: 106.3 MB / 0.9001 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.7832/1.034, allocations: 161 MB / 1.057 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009188/1.043, allocations: 5.03 MB / 1.062 GB, free: 3.711 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/1.044, allocations: 42.53 kB / 1.062 GB, free: 3.711 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002527/1.047, allocations: 0.789 MB / 1.063 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006688/1.054, allocations: 1.783 MB / 1.065 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00451/1.058, allocations: 1.263 MB / 1.066 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004135/1.062, allocations: 1.673 MB / 1.068 GB, free: 3.668 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/1.064, allocations: 0.7965 MB / 1.069 GB, free: 3.586 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002811/1.067, allocations: 0.9849 MB / 1.069 GB, free: 3.578 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/1.069, allocations: 0.7132 MB / 1.07 GB, free: 3.578 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001883/1.069, allocations: 48.38 kB / 1.07 GB, free: 3.578 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003397/1.072, allocations: 0.9351 MB / 1.071 GB, free: 3.574 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005937/1.073, allocations: 384.3 kB / 1.071 GB, free: 3.574 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006044/1.074, allocations: 268.5 kB / 1.072 GB, free: 3.543 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002962/1.077, allocations: 1.34 MB / 1.073 GB, free: 3.418 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.077, allocations: 0.6562 kB / 1.073 GB, free: 3.418 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.397e-06/1.077, allocations: 0 / 1.073 GB, free: 3.418 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.389e-05/1.077, allocations: 0 / 1.073 GB, free: 3.418 MB / 0.698 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.006237/1.083, allocations: 1.72 MB / 1.075 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/1.083, allocations: 13.31 kB / 1.075 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002982/1.083, allocations: 140.5 kB / 1.075 GB, free: 18.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005936/1.089, allocations: 0.9355 MB / 1.076 GB, free: 18.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002323/1.092, allocations: 0.865 MB / 1.077 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.031e-05/1.092, allocations: 69.22 kB / 1.077 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/1.092, allocations: 101.6 kB / 1.077 GB, free: 18.01 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004068/1.096, allocations: 1.564 MB / 1.078 GB, free: 17.87 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/1.096, allocations: 0 / 1.078 GB, free: 17.87 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/1.096, allocations: 39.12 kB / 1.078 GB, free: 17.87 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.208e-05/1.096, allocations: 50.81 kB / 1.078 GB, free: 17.87 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006096/1.102, allocations: 1.841 MB / 1.08 GB, free: 17.82 MB / 0.7136 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.009283/1.112, allocations: 4.283 MB / 1.084 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00485/1.116, allocations: 1.59 MB / 1.086 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005366/1.117, allocations: 175.2 kB / 1.086 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002805/1.12, allocations: 0.9002 MB / 1.087 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=95): time 5.901e-06/1.12, allocations: 0 / 1.087 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.008673/1.129, allocations: 2.43 MB / 1.089 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.106e-05/1.129, allocations: 65.55 kB / 1.089 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/1.131, allocations: 1.196 MB / 1.091 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000171/1.131, allocations: 48.58 kB / 1.091 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004515/1.132, allocations: 0.5523 MB / 1.091 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000304/1.132, allocations: 330.7 kB / 1.092 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/1.132, allocations: 15.5 kB / 1.092 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001835/1.132, allocations: 345.5 kB / 1.092 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002063/1.134, allocations: 0.6844 MB / 1.093 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002252/1.137, allocations: 0.9166 MB / 1.093 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002172/1.139, allocations: 0.7236 MB / 1.094 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/1.139, allocations: 2.438 kB / 1.094 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005068/1.144, allocations: 1.747 MB / 1.096 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/1.144, allocations: 8.219 kB / 1.096 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.144, allocations: 3.594 kB / 1.096 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.543e-05/1.144, allocations: 22.48 kB / 1.096 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/1.146, allocations: 343.1 kB / 1.096 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-05/1.146, allocations: 15.14 kB / 1.096 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/1.148, allocations: 260 kB / 1.096 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/1.148, allocations: 48.41 kB / 1.096 GB, free: 14.13 MB / 0.7136 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 ($whenCondition3,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009654/1.149, allocations: 336.9 kB / 1.097 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004669/1.15, allocations: 138.7 kB / 1.097 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005309/1.155, allocations: 1.782 MB / 1.099 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/1.155, allocations: 7.938 kB / 1.099 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.155, allocations: 0 / 1.099 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/1.155, allocations: 9.672 kB / 1.099 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008244/1.163, allocations: 3.311 MB / 1.102 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/1.163, allocations: 1.656 kB / 1.102 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/1.165, allocations: 289.7 kB / 1.102 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-05/1.165, allocations: 7.844 kB / 1.102 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/1.165, allocations: 38.23 kB / 1.102 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-05/1.165, allocations: 13.06 kB / 1.102 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.165, allocations: 8.844 kB / 1.102 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00763/1.173, allocations: 3.013 MB / 1.105 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/1.174, allocations: 330.8 kB / 1.106 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004957/1.174, allocations: 25.59 kB / 1.106 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/1.176, allocations: 171.2 kB / 1.106 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/1.177, allocations: 71.52 kB / 1.106 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/1.177, allocations: 43.34 kB / 1.106 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002085/1.179, allocations: 0.8296 MB / 1.107 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.51e-07/1.179, allocations: 2.062 kB / 1.107 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002332/1.181, allocations: 340.3 kB / 1.107 GB, free: 12.05 MB / 0.7136 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01165/1.193, allocations: 5.08 MB / 1.112 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005061/1.198, allocations: 1.598 MB / 1.114 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/1.198, allocations: 0 / 1.114 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002492/1.201, allocations: 0.8281 MB / 1.114 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003569/1.204, allocations: 0.6055 MB / 1.115 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02622/1.23, allocations: 12.15 MB / 1.127 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/1.232, allocations: 1.21 MB / 1.128 GB, free: 364 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002264/1.234, allocations: 372.6 kB / 1.128 GB, free: 188 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000988/1.235, allocations: 0.5034 MB / 1.129 GB, free: 128 kB / 0.7136 GB Notification: Performance of SimCode: time 9.12e-07/1.235, allocations: 4 kB / 1.129 GB, free: 124 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07438/1.309, allocations: 34.24 MB / 1.162 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/1.31, allocations: 232.6 kB / 1.162 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.207/4.517, allocations: 0 / 1.162 GB, free: 3.43 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)