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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001194/0.001194, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0012/0.0012, allocations: 193 kB / 16.13 MB, free: 6.652 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.222/1.222, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.532/2.532, allocations: 437 MB / 0.71 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 63.89 kB / 0.8687 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6554/0.6568, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1494/0.8063, allocations: 157.9 MB / 1.171 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004661/0.811, allocations: 3.839 MB / 1.175 GB, free: 480 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000391/0.8114, allocations: 11.94 kB / 1.175 GB, free: 468 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005714/0.812, allocations: 151.1 kB / 1.175 GB, free: 316 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.8138, allocations: 0.7899 MB / 1.176 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008944/0.8147, allocations: 390.2 kB / 1.176 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001351/0.8161, allocations: 1.401 MB / 1.177 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003909/0.8165, allocations: 248.9 kB / 1.178 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006524/0.8172, allocations: 358.5 kB / 1.178 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008344/0.818, allocations: 326.7 kB / 1.178 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.295e-05/0.8181, allocations: 20 kB / 1.178 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.8194, allocations: 0.8455 MB / 1.179 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.8196, allocations: 155.5 kB / 1.179 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.8198, allocations: 203 kB / 1.179 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.8209, allocations: 0.7751 MB / 1.18 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.8209, allocations: 0 / 1.18 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.31e-07/0.8209, allocations: 0 / 1.18 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.8209, allocations: 0 / 1.18 GB, free: 10.82 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.001122/0.822, allocations: 0.7401 MB / 1.181 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.8221, allocations: 12.03 kB / 1.181 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.77e-05/0.8222, allocations: 66.53 kB / 1.181 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.8232, allocations: 151.3 kB / 1.181 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/0.8238, allocations: 382.5 kB / 1.181 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.8238, allocations: 20.66 kB / 1.181 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.168e-05/0.8239, allocations: 36 kB / 1.181 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005444/0.8244, allocations: 326 kB / 1.182 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.8244, allocations: 0 / 1.182 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.8245, allocations: 16 kB / 1.182 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.8245, allocations: 8 kB / 1.182 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005264/0.825, allocations: 318.3 kB / 1.182 GB, free: 8.672 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.001585/0.8266, allocations: 1.193 MB / 1.183 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/0.8271, allocations: 289.7 kB / 1.184 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.8273, allocations: 193.3 kB / 1.184 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/0.8276, allocations: 190.5 kB / 1.184 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.8276, allocations: 34.84 kB / 1.184 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 1.744e-06/0.8276, allocations: 0 / 1.184 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.001987/0.8296, allocations: 1.038 MB / 1.185 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.8297, allocations: 59.41 kB / 1.185 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.83, allocations: 312.5 kB / 1.185 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.83, allocations: 37.64 kB / 1.185 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.8301, allocations: 180.7 kB / 1.186 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.8302, allocations: 118.2 kB / 1.186 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.907e-05/0.8303, allocations: 65.69 kB / 1.186 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.8305, allocations: 342.8 kB / 1.186 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.8307, allocations: 115.7 kB / 1.186 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.8309, allocations: 174.5 kB / 1.186 GB, free: 4.098 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.001659/0.8326, allocations: 0.7601 MB / 1.187 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.8326, allocations: 0 / 1.187 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005663/0.8332, allocations: 349.1 kB / 1.187 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.8332, allocations: 4 kB / 1.187 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.8332, allocations: 0 / 1.187 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.8332, allocations: 7.938 kB / 1.187 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.8335, allocations: 67.91 kB / 1.187 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.8336, allocations: 32 / 1.187 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.8339, allocations: 30.7 kB / 1.188 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.8339, allocations: 12 kB / 1.188 GB, free: 2.848 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.0001791/0.8341, allocations: 181.7 kB / 1.188 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-05/0.8342, allocations: 35.62 kB / 1.188 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.968e-05/0.8343, allocations: 52 kB / 1.188 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.8343, allocations: 8 kB / 1.188 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.8343, allocations: 0 / 1.188 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005168/0.8349, allocations: 408.2 kB / 1.188 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.8364, allocations: 1.074 MB / 1.189 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.8364, allocations: 4 kB / 1.189 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.8368, allocations: 71.91 kB / 1.189 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/0.8368, allocations: 8 kB / 1.189 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.8368, allocations: 19.92 kB / 1.189 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.8368, allocations: 11.94 kB / 1.189 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.8368, allocations: 7.938 kB / 1.189 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008583/0.8377, allocations: 0.688 MB / 1.19 GB, free: 92 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.8379, allocations: 148.7 kB / 1.19 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.703e-05/0.8379, allocations: 19.94 kB / 1.19 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.8383, allocations: 23.89 kB / 1.19 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.8384, allocations: 27.91 kB / 1.19 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.8384, allocations: 19.94 kB / 1.19 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002089/0.8386, allocations: 235 kB / 1.19 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8386, allocations: 0 / 1.19 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004364/0.8391, allocations: 112 kB / 1.191 GB, free: 15.5 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.001335/0.8404, allocations: 1.27 MB / 1.192 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000528/0.8409, allocations: 299.6 kB / 1.192 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.841, allocations: 0 / 1.192 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.8412, allocations: 163.7 kB / 1.192 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.8423, allocations: 221.1 kB / 1.192 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/0.8468, allocations: 3.828 MB / 1.196 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.8472, allocations: 0.8235 MB / 1.197 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003662/0.8476, allocations: 103.2 kB / 1.197 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.8478, allocations: 119.3 kB / 1.197 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of SimCode: time 5.61e-07/0.8478, allocations: 0 / 1.197 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.073/2.921, allocations: 10.6 MB / 1.208 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002992/2.921, allocations: 272.4 kB / 1.208 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/4.93, allocations: 0 / 1.208 GB, free: 13.74 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)