Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.000809/0.0008091, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004859/0.004859, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.806/2.806, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003834, allocations: 10.34 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3274, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1695/0.4969, allocations: 155.8 MB / 1.226 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004787/0.5018, allocations: 3.789 MB / 1.23 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003575/0.5021, allocations: 11.88 kB / 1.23 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005678/0.5027, allocations: 155.1 kB / 1.23 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002015/0.5048, allocations: 0.7859 MB / 1.231 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.5058, allocations: 394.9 kB / 1.231 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001833/0.5076, allocations: 1.385 MB / 1.233 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004774/0.5081, allocations: 256.8 kB / 1.233 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006563/0.5088, allocations: 350.5 kB / 1.233 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008916/0.5097, allocations: 328.2 kB / 1.234 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.961e-05/0.5098, allocations: 12 kB / 1.234 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.5113, allocations: 0.8494 MB / 1.234 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.5115, allocations: 143.6 kB / 1.235 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002574/0.5118, allocations: 220.6 kB / 1.235 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.5129, allocations: 0.7788 MB / 1.235 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.5129, allocations: 0 / 1.235 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.635e-06/0.5129, allocations: 0 / 1.235 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.5129, allocations: 0 / 1.235 GB, free: 1.703 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.001165/0.5141, allocations: 0.6662 MB / 1.236 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.5141, allocations: 8.031 kB / 1.236 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.5152, allocations: 147.4 kB / 1.236 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005761/0.5158, allocations: 390.4 kB / 1.237 GB, free: 424 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.5159, allocations: 20.66 kB / 1.237 GB, free: 404 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.5159, allocations: 28 kB / 1.237 GB, free: 376 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005832/0.5165, allocations: 330 kB / 1.237 GB, free: 40 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.5166, allocations: 4 kB / 1.237 GB, free: 36 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.5166, allocations: 15.94 kB / 1.237 GB, free: 20 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.5166, allocations: 8 kB / 1.237 GB, free: 12 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005987/0.5172, allocations: 318.3 kB / 1.237 GB, free: 15.7 MB / 0.9981 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.001764/0.519, allocations: 1.209 MB / 1.239 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005047/0.5195, allocations: 295.3 kB / 1.239 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.5198, allocations: 186.5 kB / 1.239 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/0.5201, allocations: 190.5 kB / 1.239 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.5202, allocations: 42.83 kB / 1.239 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.926e-06/0.5202, allocations: 0 / 1.239 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.002209/0.5224, allocations: 1.049 MB / 1.24 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.5225, allocations: 55.41 kB / 1.24 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000346/0.5228, allocations: 320.5 kB / 1.241 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.5229, allocations: 41.64 kB / 1.241 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.523, allocations: 180.7 kB / 1.241 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.5231, allocations: 114.3 kB / 1.241 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.5232, allocations: 29.7 kB / 1.241 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.5233, allocations: 346.8 kB / 1.241 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.5236, allocations: 115.9 kB / 1.241 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.5239, allocations: 178 kB / 1.242 GB, free: 11.12 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.001863/0.5257, allocations: 0.7773 MB / 1.242 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5257, allocations: 4 kB / 1.242 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00061/0.5264, allocations: 356.9 kB / 1.243 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.5264, allocations: 8 kB / 1.243 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.5264, allocations: 0 / 1.243 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.5264, allocations: 3.938 kB / 1.243 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.5268, allocations: 75.94 kB / 1.243 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.5268, allocations: 0 / 1.243 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/0.5272, allocations: 29.22 kB / 1.243 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.5272, allocations: 16.05 kB / 1.243 GB, free: 9.832 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 sytem: 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.0002253/0.5274, allocations: 179 kB / 1.243 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.863e-05/0.5275, allocations: 39.52 kB / 1.243 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.5277, allocations: 52.06 kB / 1.243 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.5277, allocations: 7.938 kB / 1.243 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.5277, allocations: 0 / 1.243 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007214/0.5284, allocations: 420.3 kB / 1.243 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.5301, allocations: 1.074 MB / 1.245 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.5301, allocations: 8.062 kB / 1.245 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003614/0.5305, allocations: 79.89 kB / 1.245 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.5305, allocations: 11.94 kB / 1.245 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.5305, allocations: 8 kB / 1.245 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.649e-06/0.5306, allocations: 15.88 kB / 1.245 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.5306, allocations: 4 kB / 1.245 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000966/0.5315, allocations: 0.6952 MB / 1.245 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.5317, allocations: 144.6 kB / 1.245 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.464e-05/0.5318, allocations: 19.88 kB / 1.245 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.5321, allocations: 27.97 kB / 1.245 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.481e-05/0.5322, allocations: 31.97 kB / 1.246 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.5323, allocations: 23.92 kB / 1.246 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002409/0.5325, allocations: 231 kB / 1.246 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5325, allocations: 0 / 1.246 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004799/0.533, allocations: 108 kB / 1.246 GB, free: 6.457 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.000432/0.5334, allocations: 168.1 kB / 1.246 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005884/0.534, allocations: 304.2 kB / 1.246 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.5341, allocations: 0 / 1.246 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.5344, allocations: 184.7 kB / 1.246 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.5357, allocations: 206.9 kB / 1.247 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.5373, allocations: 1.17 MB / 1.248 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.5378, allocations: 0.8234 MB / 1.249 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003613/0.5381, allocations: 111.2 kB / 1.249 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.956e-05/0.5382, allocations: 35.44 kB / 1.249 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.5382, allocations: 0 / 1.249 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of Templates: time 0.5472/1.085, allocations: 6.971 MB / 1.256 GB, free: 182.4 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1)