Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",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.007238/0.007238, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.002154/0.002154, allocations: 192 kB / 16.67 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.191/1.191, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.144/2.144, allocations: 437.1 MB / 0.7106 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 67.89 kB / 1.018 GB, free: 9.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.556/0.5577, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002304/0.56, allocations: 1.703 MB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1391/0.6991, allocations: 148.4 MB / 1.313 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-05/0.6992, allocations: 0 / 1.313 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.6994, allocations: 51.67 kB / 1.313 GB, free: 13 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0009074/0.7004, allocations: 441.9 kB / 1.313 GB, free: 12.57 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001056/0.7005, allocations: 55.88 kB / 1.313 GB, free: 12.51 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.7007, allocations: 155.3 kB / 1.313 GB, free: 12.36 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.476e-05/0.7007, allocations: 9.203 kB / 1.313 GB, free: 12.35 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.411e-05/0.7008, allocations: 55.84 kB / 1.314 GB, free: 12.3 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.7009, allocations: 63.75 kB / 1.314 GB, free: 12.23 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.7009, allocations: 8 kB / 1.314 GB, free: 12.23 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007778/0.7017, allocations: 0.5067 MB / 1.314 GB, free: 11.72 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.7017, allocations: 31.83 kB / 1.314 GB, free: 11.69 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.48e-05/0.7018, allocations: 55.73 kB / 1.314 GB, free: 11.63 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004803/0.7023, allocations: 366.7 kB / 1.315 GB, free: 11.28 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7023, allocations: 4 kB / 1.315 GB, free: 11.27 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.81e-07/0.7023, allocations: 4 kB / 1.315 GB, free: 11.27 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.7023, allocations: 0 / 1.315 GB, free: 11.27 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005925/0.7029, allocations: 494.1 kB / 1.315 GB, free: 10.74 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.703, allocations: 8.922 kB / 1.315 GB, free: 10.73 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.641e-05/0.703, allocations: 106 kB / 1.315 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009969/0.704, allocations: 176 kB / 1.315 GB, free: 10.45 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.7043, allocations: 316 kB / 1.316 GB, free: 10.1 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.628e-05/0.7044, allocations: 154.6 kB / 1.316 GB, free: 9.945 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-05/0.7044, allocations: 158.6 kB / 1.316 GB, free: 9.789 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.791e-05/0.7045, allocations: 101 kB / 1.316 GB, free: 9.684 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.7045, allocations: 79.22 kB / 1.316 GB, free: 9.605 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.063e-05/0.7046, allocations: 150.6 kB / 1.316 GB, free: 9.457 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-05/0.7046, allocations: 150.6 kB / 1.316 GB, free: 9.309 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.96e-05/0.7047, allocations: 150.6 kB / 1.317 GB, free: 9.16 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.705, allocations: 0.5212 MB / 1.317 GB, free: 8.59 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.357e-05/0.7051, allocations: 165.1 kB / 1.317 GB, free: 8.418 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.367e-05/0.7052, allocations: 88.08 kB / 1.317 GB, free: 8.328 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.7052, allocations: 75.28 kB / 1.317 GB, free: 8.254 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/0.7053, allocations: 109.8 kB / 1.317 GB, free: 8.137 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.7053, allocations: 0 / 1.317 GB, free: 8.137 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0002487/0.7055, allocations: 61.58 kB / 1.317 GB, free: 8.07 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.7056, allocations: 126.7 kB / 1.318 GB, free: 7.934 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.7058, allocations: 219.7 kB / 1.318 GB, free: 7.711 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.7059, allocations: 37.64 kB / 1.318 GB, free: 7.668 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.7059, allocations: 104.1 kB / 1.318 GB, free: 7.562 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-06/0.7059, allocations: 0 / 1.318 GB, free: 7.562 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.706, allocations: 21.72 kB / 1.318 GB, free: 7.535 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.7061, allocations: 326.8 kB / 1.318 GB, free: 7.207 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.331e-05/0.7062, allocations: 28.78 kB / 1.318 GB, free: 7.176 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.424e-05/0.7062, allocations: 16 kB / 1.318 GB, free: 7.16 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.877e-05/0.7063, allocations: 28.98 kB / 1.318 GB, free: 7.129 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.7063, allocations: 4 kB / 1.318 GB, free: 7.125 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005143/0.7068, allocations: 142.3 kB / 1.318 GB, free: 6.977 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.7068, allocations: 4 kB / 1.319 GB, free: 6.973 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.7068, allocations: 0 / 1.319 GB, free: 6.973 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006532/0.7075, allocations: 152.6 kB / 1.319 GB, free: 6.82 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.018e-05/0.7075, allocations: 4 kB / 1.319 GB, free: 6.816 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.7093, allocations: 1.606 MB / 1.32 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.7094, allocations: 7.938 kB / 1.32 GB, free: 5.062 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.7095, allocations: 8.062 kB / 1.32 GB, free: 5.055 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.417e-05/0.7095, allocations: 100.1 kB / 1.32 GB, free: 4.953 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.06e-05/0.7096, allocations: 19.97 kB / 1.32 GB, free: 4.934 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.306e-05/0.7096, allocations: 28.8 kB / 1.32 GB, free: 4.902 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.81e-07/0.7096, allocations: 0 / 1.32 GB, free: 4.902 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002102/0.7098, allocations: 110.6 kB / 1.32 GB, free: 4.785 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.462e-06/0.7099, allocations: 4 kB / 1.32 GB, free: 4.781 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-06/0.7099, allocations: 0 / 1.32 GB, free: 4.781 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003125/0.7102, allocations: 120.6 kB / 1.321 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.559e-05/0.7102, allocations: 4 kB / 1.321 GB, free: 4.656 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.7113, allocations: 1.461 MB / 1.322 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.7114, allocations: 11.95 kB / 1.322 GB, free: 3.035 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.7115, allocations: 0 / 1.322 GB, free: 3.035 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.7116, allocations: 255.6 kB / 1.322 GB, free: 2.777 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/0.7116, allocations: 120.8 kB / 1.322 GB, free: 2.652 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.255e-05/0.7117, allocations: 125.2 kB / 1.323 GB, free: 2.523 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-05/0.7118, allocations: 180.2 kB / 1.323 GB, free: 2.34 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6e-05/0.7118, allocations: 176.3 kB / 1.323 GB, free: 2.16 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.259e-05/0.7119, allocations: 188.1 kB / 1.323 GB, free: 1.969 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.7121, allocations: 445.2 kB / 1.323 GB, free: 1.477 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-05/0.7122, allocations: 104.9 kB / 1.324 GB, free: 1.367 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.7122, allocations: 109 kB / 1.324 GB, free: 1.254 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.304e-05/0.7123, allocations: 184.2 kB / 1.324 GB, free: 1.066 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.307e-05/0.7124, allocations: 180.2 kB / 1.324 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.902e-05/0.7124, allocations: 176.3 kB / 1.324 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.125e-05/0.7125, allocations: 184.2 kB / 1.324 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.7126, allocations: 315.8 kB / 1.325 GB, free: 188 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.7128, allocations: 201.9 kB / 1.325 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.081e-05/0.7129, allocations: 184.2 kB / 1.325 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.713, allocations: 116.9 kB / 1.325 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.7131, allocations: 176.3 kB / 1.325 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.7131, allocations: 109 kB / 1.325 GB, free: 15.36 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001766/0.7133, allocations: 161.2 kB / 1.326 GB, free: 15.2 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.653e-06/0.7133, allocations: 0 / 1.326 GB, free: 15.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003338/0.7137, allocations: 71.88 kB / 1.326 GB, free: 15.13 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004687/0.7141, allocations: 0.8515 MB / 1.326 GB, free: 14.25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004537/0.7146, allocations: 305.2 kB / 1.327 GB, free: 13.93 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.7146, allocations: 0 / 1.327 GB, free: 13.93 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.7146, allocations: 0 / 1.327 GB, free: 13.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.715, allocations: 483.6 kB / 1.327 GB, free: 13.45 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.7176, allocations: 2.059 MB / 1.329 GB, free: 11.3 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.7178, allocations: 0.7006 MB / 1.33 GB, free: 10.58 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.355e-05/0.7179, allocations: 16.53 kB / 1.33 GB, free: 10.56 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.718, allocations: 23.44 kB / 1.33 GB, free: 10.54 MB / 1.061 GB Notification: Performance of SimCode: time 1.9e-07/0.718, allocations: 0 / 1.33 GB, free: 10.54 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.469/3.187, allocations: 4.745 MB / 1.335 GB, free: 5.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.13/22.32, allocations: 18.83 kB / 1.335 GB, free: 5.969 MB / 1.061 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1)