Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00115/0.001151, allocations: 187.4 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 1.367/1.367, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.933/2.933, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 66.38 kB / 0.9115 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3077, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1676/0.4753, allocations: 157.9 MB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005016/0.4803, allocations: 3.785 MB / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002795/0.4807, allocations: 15.88 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005868/0.4813, allocations: 155.1 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.4831, allocations: 0.786 MB / 1.227 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009025/0.484, allocations: 386.6 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001362/0.4854, allocations: 1.026 MB / 1.228 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004694/0.4859, allocations: 288.9 kB / 1.228 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000708/0.4866, allocations: 402.4 kB / 1.229 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008731/0.4875, allocations: 350.8 kB / 1.229 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.725e-05/0.4875, allocations: 28 kB / 1.229 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.489, allocations: 0.7442 MB / 1.23 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.4893, allocations: 163.6 kB / 1.23 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.4895, allocations: 222.9 kB / 1.23 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.4906, allocations: 0.7906 MB / 1.231 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4907, allocations: 0 / 1.231 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4907, allocations: 0 / 1.231 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.4907, allocations: 0 / 1.231 GB, free: 3.094 MB / 0.9825 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.001225/0.4919, allocations: 0.744 MB / 1.232 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.492, allocations: 8.031 kB / 1.232 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.4931, allocations: 143.4 kB / 1.232 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005608/0.4937, allocations: 382.5 kB / 1.232 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.4937, allocations: 24.66 kB / 1.232 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.099e-05/0.4938, allocations: 35.91 kB / 1.232 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.4943, allocations: 326 kB / 1.232 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.4944, allocations: 0 / 1.232 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.4944, allocations: 12 kB / 1.232 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.4944, allocations: 8 kB / 1.232 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005191/0.4949, allocations: 306.4 kB / 1.233 GB, free: 1.035 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.001748/0.4967, allocations: 1.212 MB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004959/0.4972, allocations: 291.4 kB / 1.234 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.4975, allocations: 185.3 kB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002842/0.4978, allocations: 194.4 kB / 1.235 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.4978, allocations: 34.84 kB / 1.235 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/0.4978, allocations: 0 / 1.235 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.002091/0.4999, allocations: 1.031 MB / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.5, allocations: 51.41 kB / 1.236 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.5003, allocations: 320.5 kB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.5004, allocations: 33.7 kB / 1.236 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.5005, allocations: 172.8 kB / 1.236 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.5006, allocations: 130.1 kB / 1.236 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.5007, allocations: 61.7 kB / 1.236 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5008, allocations: 346.8 kB / 1.237 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.5011, allocations: 119.7 kB / 1.237 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.5013, allocations: 170.2 kB / 1.237 GB, free: 12.45 MB / 0.9981 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.001738/0.5031, allocations: 0.7533 MB / 1.238 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.5031, allocations: 4 kB / 1.238 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006534/0.5038, allocations: 356.9 kB / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.5038, allocations: 4 kB / 1.238 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.5038, allocations: 0 / 1.238 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.5038, allocations: 7.938 kB / 1.238 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.5041, allocations: 63.91 kB / 1.238 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.5042, allocations: 0 / 1.238 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.5045, allocations: 28.02 kB / 1.238 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.5046, allocations: 11.98 kB / 1.238 GB, free: 11.2 MB / 0.9981 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.0001903/0.5048, allocations: 173.8 kB / 1.238 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-05/0.5048, allocations: 39.53 kB / 1.238 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.505, allocations: 48.06 kB / 1.238 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.505, allocations: 7.938 kB / 1.238 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.505, allocations: 0 / 1.238 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005559/0.5056, allocations: 404.4 kB / 1.239 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.5072, allocations: 1.072 MB / 1.24 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.5072, allocations: 4 kB / 1.24 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003766/0.5076, allocations: 84.36 kB / 1.24 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.5076, allocations: 8 kB / 1.24 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.5077, allocations: 12 kB / 1.24 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.249e-05/0.5077, allocations: 15.88 kB / 1.24 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.5077, allocations: 7.938 kB / 1.24 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009827/0.5087, allocations: 0.6811 MB / 1.241 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.5089, allocations: 148.6 kB / 1.241 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-05/0.509, allocations: 15.94 kB / 1.241 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/0.5094, allocations: 27.98 kB / 1.241 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.5095, allocations: 27.91 kB / 1.241 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.5095, allocations: 19.94 kB / 1.241 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002402/0.5097, allocations: 235 kB / 1.241 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5097, allocations: 0 / 1.241 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004681/0.5102, allocations: 112 kB / 1.241 GB, free: 7.863 MB / 0.9981 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.000417/0.5106, allocations: 175.8 kB / 1.241 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007526/0.5114, allocations: 328 kB / 1.242 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5114, allocations: 0 / 1.242 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.5117, allocations: 172.5 kB / 1.242 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.5129, allocations: 217.2 kB / 1.242 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.5146, allocations: 1.092 MB / 1.243 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.5151, allocations: 0.8196 MB / 1.244 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004149/0.5155, allocations: 107.2 kB / 1.244 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.752e-05/0.5156, allocations: 31.44 kB / 1.244 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.5156, allocations: 4 kB / 1.244 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of Templates: time 0.4872/1.003, allocations: 7.303 MB / 1.251 GB, free: 184.2 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1)