Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_10_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.001583/0.001583, 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.001852/0.001852, allocations: 190.9 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.358/1.358, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.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.55/2.55, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 71.89 kB / 0.8689 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5515/0.5528, allocations: 151.6 MB / 1.017 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1383/0.6911, allocations: 157.9 MB / 1.171 GB, free: 4.137 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004271/0.6954, allocations: 3.782 MB / 1.175 GB, free: 356 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003461/0.6958, allocations: 15.81 kB / 1.175 GB, free: 340 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005183/0.6963, allocations: 159.1 kB / 1.175 GB, free: 180 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.6981, allocations: 0.7976 MB / 1.176 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008539/0.6989, allocations: 380.1 kB / 1.176 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001073/0.7, allocations: 1.03 MB / 1.177 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.7004, allocations: 284.8 kB / 1.177 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005761/0.701, allocations: 402.4 kB / 1.178 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007644/0.7018, allocations: 336.5 kB / 1.178 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.701e-05/0.7018, allocations: 32 kB / 1.178 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.7029, allocations: 0.7519 MB / 1.179 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.703, allocations: 163.6 kB / 1.179 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.7032, allocations: 214.9 kB / 1.179 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009489/0.7042, allocations: 0.7984 MB / 1.18 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.7042, allocations: 4 kB / 1.18 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7042, allocations: 0 / 1.18 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.7042, allocations: 4 kB / 1.18 GB, free: 11.01 MB / 0.9356 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.001007/0.7052, allocations: 0.7323 MB / 1.181 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.7053, allocations: 8.031 kB / 1.181 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.139e-05/0.7054, allocations: 62.55 kB / 1.181 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000973/0.7063, allocations: 155.2 kB / 1.181 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.7068, allocations: 374.5 kB / 1.181 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.7069, allocations: 24.59 kB / 1.181 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.899e-05/0.7069, allocations: 36 kB / 1.181 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005247/0.7075, allocations: 326 kB / 1.182 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.7075, allocations: 8 kB / 1.182 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.7075, allocations: 16 kB / 1.182 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.7075, allocations: 4 kB / 1.182 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004978/0.708, allocations: 310.4 kB / 1.182 GB, free: 8.875 MB / 0.9356 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.001502/0.7096, allocations: 1.205 MB / 1.183 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/0.71, allocations: 287.3 kB / 1.183 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002584/0.7103, allocations: 183.4 kB / 1.184 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/0.7105, allocations: 198.5 kB / 1.184 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.7105, allocations: 34.84 kB / 1.184 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.7106, allocations: 0 / 1.184 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.00193/0.7125, allocations: 1.031 MB / 1.185 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.7125, allocations: 55.41 kB / 1.185 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.7128, allocations: 312.5 kB / 1.185 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.7129, allocations: 33.7 kB / 1.185 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.713, allocations: 184.6 kB / 1.185 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.113e-05/0.7131, allocations: 130.2 kB / 1.186 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-05/0.7132, allocations: 57.7 kB / 1.186 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.7133, allocations: 346.8 kB / 1.186 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.7135, allocations: 119.7 kB / 1.186 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.7137, allocations: 158.5 kB / 1.186 GB, free: 4.305 MB / 0.9356 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.001636/0.7154, allocations: 0.768 MB / 1.187 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.7154, allocations: 0 / 1.187 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005511/0.7159, allocations: 356.7 kB / 1.187 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.7159, allocations: 9.406 kB / 1.187 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.716, allocations: 0 / 1.187 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.716, allocations: 7.969 kB / 1.187 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.7163, allocations: 63.91 kB / 1.187 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.7163, allocations: 4 kB / 1.187 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.7166, allocations: 27.88 kB / 1.187 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.7167, allocations: 12.05 kB / 1.187 GB, free: 3.035 MB / 0.9356 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.0001728/0.7169, allocations: 181.7 kB / 1.188 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/0.7169, allocations: 35.61 kB / 1.188 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.717, allocations: 56 kB / 1.188 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.717, allocations: 4 kB / 1.188 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.7171, allocations: 0 / 1.188 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005023/0.7176, allocations: 404.2 kB / 1.188 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.719, allocations: 1.072 MB / 1.189 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.719, allocations: 4 kB / 1.189 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003493/0.7194, allocations: 79.89 kB / 1.189 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.7194, allocations: 4 kB / 1.189 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.7195, allocations: 12.47 kB / 1.189 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.7195, allocations: 7.938 kB / 1.189 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.7195, allocations: 15.88 kB / 1.189 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008535/0.7203, allocations: 0.6878 MB / 1.19 GB, free: 288 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.7205, allocations: 152.6 kB / 1.19 GB, free: 116 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.565e-05/0.7205, allocations: 11.94 kB / 1.19 GB, free: 104 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.7209, allocations: 19.98 kB / 1.19 GB, free: 84 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.721, allocations: 39.91 kB / 1.19 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.721, allocations: 19.98 kB / 1.19 GB, free: 24 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002064/0.7212, allocations: 231 kB / 1.19 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7212, allocations: 0 / 1.19 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004144/0.7216, allocations: 112 kB / 1.19 GB, free: 15.69 MB / 0.9512 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.00129/0.7229, allocations: 1.275 MB / 1.192 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000564/0.7235, allocations: 331.5 kB / 1.192 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.7235, allocations: 7.938 kB / 1.192 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002593/0.7238, allocations: 160.5 kB / 1.192 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.7248, allocations: 234.6 kB / 1.192 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/0.729, allocations: 3.803 MB / 1.196 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.7294, allocations: 0.8313 MB / 1.197 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003311/0.7297, allocations: 99.19 kB / 1.197 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.7299, allocations: 121.8 kB / 1.197 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/0.7299, allocations: 0 / 1.197 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5576/1.287, allocations: 10.92 MB / 1.208 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000419/1.288, allocations: 281.8 kB / 1.208 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.952/4.24, allocations: 3.75 kB / 1.208 GB, free: 13.61 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent_fmu --startTime=0 --stopTime=2700 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1)