Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",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.002902/0.002903, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.003517/0.003517, allocations: 195.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.243/3.243, allocations: 222.9 MB / 239.9 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.993/5.993, allocations: 461.9 MB / 0.7344 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003232/0.003232, allocations: 71.33 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.079, allocations: 157.4 MB / 1.052 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.5286/1.608, allocations: 157.9 MB / 1.207 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009467/1.617, allocations: 3.784 MB / 1.21 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009873/1.618, allocations: 11.94 kB / 1.21 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/1.62, allocations: 155.1 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004565/1.624, allocations: 0.7923 MB / 1.211 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002099/1.626, allocations: 391.2 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00266/1.629, allocations: 1.026 MB / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008633/1.63, allocations: 280.9 kB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/1.632, allocations: 406.4 kB / 1.213 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/1.633, allocations: 347.4 kB / 1.214 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/1.633, allocations: 32 kB / 1.214 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/1.636, allocations: 0.7481 MB / 1.214 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003929/1.637, allocations: 159.6 kB / 1.215 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004986/1.637, allocations: 218.9 kB / 1.215 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002181/1.639, allocations: 0.7945 MB / 1.216 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/1.639, allocations: 0 / 1.216 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.246e-06/1.639, allocations: 0 / 1.216 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.34e-05/1.639, allocations: 0 / 1.216 GB, free: 0.957 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.002006/1.641, allocations: 0.7323 MB / 1.216 GB, free: 176 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 9.787e-05/1.641, allocations: 12.62 kB / 1.216 GB, free: 164 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/1.642, allocations: 70.53 kB / 1.216 GB, free: 84 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/1.643, allocations: 143.3 kB / 1.216 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009202/1.644, allocations: 382.5 kB / 1.217 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/1.644, allocations: 24.66 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/1.644, allocations: 28 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009056/1.645, allocations: 330 kB / 1.217 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/1.645, allocations: 0 / 1.217 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.333e-05/1.645, allocations: 12 kB / 1.217 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/1.645, allocations: 11.94 kB / 1.217 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000819/1.646, allocations: 310.3 kB / 1.218 GB, free: 14.82 MB / 0.9825 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.002867/1.649, allocations: 1.209 MB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007489/1.65, allocations: 283.4 kB / 1.219 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004688/1.65, allocations: 189.3 kB / 1.219 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004693/1.651, allocations: 186.5 kB / 1.219 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/1.651, allocations: 34.84 kB / 1.219 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 5.771e-06/1.651, allocations: 0 / 1.219 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.003551/1.655, allocations: 1.045 MB / 1.22 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/1.655, allocations: 55.34 kB / 1.22 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005693/1.655, allocations: 324.5 kB / 1.221 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.04e-05/1.655, allocations: 33.7 kB / 1.221 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/1.656, allocations: 172.8 kB / 1.221 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/1.656, allocations: 126.1 kB / 1.221 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/1.656, allocations: 61.7 kB / 1.221 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002697/1.656, allocations: 346.8 kB / 1.221 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/1.657, allocations: 119.7 kB / 1.222 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004676/1.657, allocations: 168 kB / 1.222 GB, free: 10.23 MB / 0.9825 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00282/1.66, allocations: 0.7619 MB / 1.222 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.66, allocations: 0 / 1.222 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001137/1.661, allocations: 356.8 kB / 1.223 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/1.661, allocations: 4 kB / 1.223 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.661, allocations: 0 / 1.223 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.423e-05/1.661, allocations: 11.92 kB / 1.223 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005755/1.662, allocations: 63.91 kB / 1.223 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/1.662, allocations: 0 / 1.223 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006318/1.662, allocations: 23.98 kB / 1.223 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/1.663, allocations: 12 kB / 1.223 GB, free: 8.98 MB / 0.9825 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: dynBal.medium.p = dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * 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.0004243/1.663, allocations: 173.8 kB / 1.223 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/1.663, allocations: 39.53 kB / 1.223 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/1.663, allocations: 52 kB / 1.223 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/1.663, allocations: 7.984 kB / 1.223 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/1.663, allocations: 0 / 1.223 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001/1.664, allocations: 412.3 kB / 1.224 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002792/1.667, allocations: 1.062 MB / 1.225 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/1.667, allocations: 4 kB / 1.225 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005448/1.668, allocations: 80.36 kB / 1.225 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.16e-05/1.668, allocations: 15.94 kB / 1.225 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-05/1.668, allocations: 8 kB / 1.225 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.719e-05/1.668, allocations: 19.86 kB / 1.225 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/1.668, allocations: 4 kB / 1.225 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/1.67, allocations: 0.6808 MB / 1.225 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002937/1.67, allocations: 136.7 kB / 1.226 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.84e-05/1.67, allocations: 23.86 kB / 1.226 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/1.671, allocations: 27.91 kB / 1.226 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/1.671, allocations: 39.86 kB / 1.226 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.202e-05/1.671, allocations: 16 kB / 1.226 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004559/1.671, allocations: 231 kB / 1.226 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/1.671, allocations: 0 / 1.226 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008515/1.672, allocations: 112 kB / 1.226 GB, free: 5.641 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (dynBal.medium.Xi[1],dynBal.U) * 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 (35): * Single equations (assignments): 35 * 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.003067/1.675, allocations: 1.283 MB / 1.227 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001052/1.676, allocations: 332.2 kB / 1.228 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.676, allocations: 0 / 1.228 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004336/1.677, allocations: 169.8 kB / 1.228 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/1.678, allocations: 231.2 kB / 1.228 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008504/1.687, allocations: 3.798 MB / 1.232 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007623/1.688, allocations: 0.8196 MB / 1.232 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008101/1.689, allocations: 115.1 kB / 1.233 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003662/1.689, allocations: 119.4 kB / 1.233 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of SimCode: time 2.225e-06/1.689, allocations: 0 / 1.233 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1216/1.811, allocations: 10.93 MB / 1.243 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004651/1.811, allocations: 266.9 kB / 1.244 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.01/6.821, allocations: 0 / 1.244 GB, free: 3.531 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent_fmu --startTime=0 --stopTime=2700 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1)