Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_latest_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.001008/0.001007, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001399/0.001399, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.2 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.594/2.594, allocations: 409.4 MB / 0.684 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003255, allocations: 12 kB / 0.8378 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7704/0.7707, allocations: 146.8 MB / 0.9812 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.001762/0.7725, allocations: 1.377 MB / 0.9825 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1608/0.9334, allocations: 134.8 MB / 1.114 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.721e-05/0.9335, allocations: 0 / 1.114 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.9337, allocations: 47.72 kB / 1.114 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0008981/0.9346, allocations: 314.5 kB / 1.114 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001039/0.9348, allocations: 43.94 kB / 1.115 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00017/0.9349, allocations: 123.3 kB / 1.115 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.935, allocations: 9.406 kB / 1.115 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 5.478e-05/0.9351, allocations: 47.84 kB / 1.115 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.9352, allocations: 67.73 kB / 1.115 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.9352, allocations: 8 kB / 1.115 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007749/0.936, allocations: 359.2 kB / 1.115 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.9361, allocations: 23.91 kB / 1.115 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 4.248e-05/0.9361, allocations: 49.62 kB / 1.115 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.9365, allocations: 247.4 kB / 1.115 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.9365, allocations: 0 / 1.115 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9365, allocations: 0 / 1.115 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.9365, allocations: 0 / 1.115 GB, free: 12.53 MB / 0.8731 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.0006667/0.9372, allocations: 474.6 kB / 1.116 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.9372, allocations: 8.031 kB / 1.116 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.919e-05/0.9373, allocations: 113.8 kB / 1.116 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.9385, allocations: 175 kB / 1.116 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.9388, allocations: 307 kB / 1.116 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.894e-05/0.9389, allocations: 158.5 kB / 1.117 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.9391, allocations: 154.6 kB / 1.117 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.344e-05/0.9391, allocations: 101 kB / 1.117 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.9392, allocations: 79.28 kB / 1.117 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.9393, allocations: 154.5 kB / 1.117 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001429/0.9395, allocations: 150.6 kB / 1.117 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.03e-05/0.9395, allocations: 154.5 kB / 1.117 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.9399, allocations: 0.5057 MB / 1.118 GB, free: 9.879 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.473e-05/0.94, allocations: 173.1 kB / 1.118 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/0.94, allocations: 88.03 kB / 1.118 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.9401, allocations: 75.28 kB / 1.118 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.9401, allocations: 109.8 kB / 1.118 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.9401, allocations: 0 / 1.118 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0002762/0.9404, allocations: 61.58 kB / 1.118 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.9405, allocations: 126.7 kB / 1.118 GB, free: 9.215 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.9408, allocations: 219 kB / 1.119 GB, free: 8.992 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.9408, allocations: 25.7 kB / 1.119 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.9409, allocations: 108.1 kB / 1.119 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.9409, allocations: 0 / 1.119 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.9409, allocations: 7.938 kB / 1.119 GB, free: 8.844 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.9411, allocations: 314.8 kB / 1.119 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.682e-05/0.9411, allocations: 19.98 kB / 1.119 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.232e-05/0.9411, allocations: 15.94 kB / 1.119 GB, free: 8.492 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.249e-05/0.9412, allocations: 20 kB / 1.119 GB, free: 8.473 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9412, allocations: 0 / 1.119 GB, free: 8.473 MB / 0.8731 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006006/0.9418, allocations: 138.3 kB / 1.119 GB, free: 8.328 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.727e-05/0.9419, allocations: 93.19 kB / 1.119 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.9419, allocations: 0 / 1.119 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007445/0.9426, allocations: 156.6 kB / 1.12 GB, free: 8.074 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.315e-05/0.9427, allocations: 4 kB / 1.12 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.9448, allocations: 1.509 MB / 1.121 GB, free: 6.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.9449, allocations: 3.953 kB / 1.121 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.9449, allocations: 4 kB / 1.121 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/0.9449, allocations: 5.875 kB / 1.121 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001901/0.9451, allocations: 76.75 kB / 1.121 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-06/0.9451, allocations: 0 / 1.121 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003308/0.9455, allocations: 108.7 kB / 1.121 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.077e-05/0.9455, allocations: 7.984 kB / 1.121 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.9467, allocations: 1.351 MB / 1.122 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.9468, allocations: 11.88 kB / 1.123 GB, free: 4.727 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.9468, allocations: 4.062 kB / 1.123 GB, free: 4.723 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.947, allocations: 276.4 kB / 1.123 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.707e-05/0.9471, allocations: 112.9 kB / 1.123 GB, free: 4.324 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.409e-05/0.9471, allocations: 117.5 kB / 1.123 GB, free: 4.203 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.019e-05/0.9472, allocations: 180.2 kB / 1.123 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001206/0.9473, allocations: 180.3 kB / 1.123 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001053/0.9475, allocations: 188.2 kB / 1.124 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.9477, allocations: 445.1 kB / 1.124 GB, free: 3.152 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.909e-05/0.9478, allocations: 108.9 kB / 1.124 GB, free: 3.039 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.9478, allocations: 101 kB / 1.124 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.153e-05/0.9479, allocations: 192.1 kB / 1.124 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.235e-05/0.948, allocations: 180.3 kB / 1.125 GB, free: 2.555 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.431e-05/0.948, allocations: 176.3 kB / 1.125 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-05/0.9481, allocations: 180.2 kB / 1.125 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.9483, allocations: 319.6 kB / 1.125 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.9484, allocations: 198.2 kB / 1.125 GB, free: 1.637 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-05/0.9485, allocations: 192.3 kB / 1.126 GB, free: 1.441 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.9486, allocations: 108.9 kB / 1.126 GB, free: 1.328 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/0.9487, allocations: 180.3 kB / 1.126 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.743e-05/0.9488, allocations: 108.9 kB / 1.126 GB, free: 1.031 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001796/0.949, allocations: 156.1 kB / 1.126 GB, free: 0.8789 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.11e-07/0.949, allocations: 4 kB / 1.126 GB, free: 0.875 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004656/0.9495, allocations: 71.98 kB / 1.126 GB, free: 0.8047 MB / 0.8731 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 (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.0006567/0.9502, allocations: 0.8554 MB / 1.127 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.000573/0.9507, allocations: 297.2 kB / 1.127 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9507, allocations: 0 / 1.127 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 4.498e-06/0.9508, allocations: 4 kB / 1.127 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005136/0.9513, allocations: 0.5382 MB / 1.128 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.9529, allocations: 0.9134 MB / 1.129 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.9532, allocations: 0.6967 MB / 1.129 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 9.062e-05/0.9533, allocations: 20.67 kB / 1.129 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.9534, allocations: 27.42 kB / 1.129 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of SimCode: time 2.71e-07/0.9534, allocations: 3.938 kB / 1.129 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.97, allocations: 4.301 MB / 1.134 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.9702, allocations: 233.9 kB / 1.134 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.837, allocations: 1.406 kB / 1.134 GB, free: 9.008 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat does not exist to compare? outputFormat=mat