Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001243, allocations: 168.2 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001328/0.001328, allocations: 106.2 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004109, allocations: 12.88 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.247, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.7728/1.02, allocations: 165.1 MB / 1.061 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01472/1.035, allocations: 9.378 MB / 1.071 GB, free: 3.598 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0025/1.037, allocations: 46 kB / 1.071 GB, free: 3.598 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002329/1.04, allocations: 0.5323 MB / 1.071 GB, free: 3.594 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008486/1.048, allocations: 1.722 MB / 1.073 GB, free: 3.57 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00607/1.054, allocations: 1.414 MB / 1.074 GB, free: 3.543 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004865/1.059, allocations: 1.688 MB / 1.076 GB, free: 3.543 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/1.061, allocations: 0.8855 MB / 1.077 GB, free: 3.418 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003823/1.065, allocations: 1.195 MB / 1.078 GB, free: 3.414 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/1.067, allocations: 0.6565 MB / 1.078 GB, free: 3.41 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002149/1.067, allocations: 47.88 kB / 1.079 GB, free: 3.41 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003708/1.071, allocations: 1.047 MB / 1.08 GB, free: 3.41 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004807/1.071, allocations: 321.2 kB / 1.08 GB, free: 3.41 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008635/1.072, allocations: 277.8 kB / 1.08 GB, free: 19.38 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002687/1.075, allocations: 1.542 MB / 1.082 GB, free: 19.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/1.075, allocations: 2.906 kB / 1.082 GB, free: 19.25 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.704e-06/1.075, allocations: 1.219 kB / 1.082 GB, free: 19.25 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.854e-05/1.075, allocations: 0 / 1.082 GB, free: 19.25 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.003132/1.078, allocations: 1.547 MB / 1.083 GB, free: 18.35 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/1.078, allocations: 8.125 kB / 1.083 GB, free: 18.35 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002064/1.078, allocations: 159.3 kB / 1.083 GB, free: 18.31 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/1.08, allocations: 370.4 kB / 1.084 GB, free: 18.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/1.082, allocations: 0.8769 MB / 1.085 GB, free: 17.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-05/1.082, allocations: 81.78 kB / 1.085 GB, free: 17.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/1.083, allocations: 104.5 kB / 1.085 GB, free: 17.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/1.084, allocations: 1.102 MB / 1.086 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/1.084, allocations: 1.25 kB / 1.086 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.94e-05/1.085, allocations: 46.5 kB / 1.086 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-05/1.085, allocations: 37.7 kB / 1.086 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/1.086, allocations: 0.7986 MB / 1.087 GB, free: 17.65 MB / 0.7136 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.0071/1.093, allocations: 5.076 MB / 1.092 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/1.095, allocations: 0.686 MB / 1.092 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004852/1.095, allocations: 154.2 kB / 1.092 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/1.095, allocations: 37.22 kB / 1.092 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 3.777e-06/1.095, allocations: 0 / 1.092 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.002165/1.097, allocations: 0.9266 MB / 1.093 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/1.097, allocations: 62.88 kB / 1.093 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/1.098, allocations: 0.8698 MB / 1.094 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.439e-05/1.099, allocations: 38.58 kB / 1.094 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004194/1.099, allocations: 0.5616 MB / 1.095 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/1.099, allocations: 243.5 kB / 1.095 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/1.099, allocations: 15.69 kB / 1.095 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001826/1.099, allocations: 341.9 kB / 1.095 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004623/1.1, allocations: 243.7 kB / 1.096 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006106/1.101, allocations: 443.2 kB / 1.096 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005274/1.101, allocations: 312.2 kB / 1.096 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.101, allocations: 0 / 1.096 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001416/1.103, allocations: 0.8261 MB / 1.097 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008205/1.103, allocations: 1.84 MB / 1.099 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/1.103, allocations: 6.25 kB / 1.099 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/1.103, allocations: 8.969 kB / 1.099 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/1.105, allocations: 252.5 kB / 1.099 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/1.106, allocations: 1.394 MB / 1.101 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/1.108, allocations: 112.3 kB / 1.101 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/1.108, allocations: 32.59 kB / 1.101 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/1.108, allocations: 6.625 kB / 1.101 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001191/1.109, allocations: 0.7021 MB / 1.101 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.109, allocations: 9.453 kB / 1.101 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/1.109, allocations: 9.062 kB / 1.101 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/1.11, allocations: 251.8 kB / 1.102 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/1.111, allocations: 1.398 MB / 1.103 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/1.113, allocations: 114.4 kB / 1.103 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/1.113, allocations: 28.72 kB / 1.103 GB, free: 8.438 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007305/1.113, allocations: 374.7 kB / 1.104 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/1.114, allocations: 113.3 kB / 1.104 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/1.115, allocations: 0.7883 MB / 1.104 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/1.115, allocations: 7.75 kB / 1.104 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.115, allocations: 0 / 1.104 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001186/1.116, allocations: 0.7018 MB / 1.105 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003397/1.12, allocations: 1.924 MB / 1.107 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/1.12, allocations: 0 / 1.107 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006851/1.121, allocations: 143 kB / 1.107 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004126/1.121, allocations: 51.42 kB / 1.107 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-05/1.121, allocations: 18.03 kB / 1.107 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/1.122, allocations: 1.369 MB / 1.109 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.122, allocations: 2.906 kB / 1.109 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/1.125, allocations: 1.341 MB / 1.11 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006237/1.125, allocations: 259.2 kB / 1.11 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/1.125, allocations: 17.25 kB / 1.11 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006482/1.126, allocations: 60.39 kB / 1.11 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/1.126, allocations: 44.56 kB / 1.11 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/1.126, allocations: 24.55 kB / 1.11 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007706/1.127, allocations: 0.5971 MB / 1.111 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.127, allocations: 0 / 1.111 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001581/1.128, allocations: 0.5395 MB / 1.111 GB, free: 5.438 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002938/1.131, allocations: 2.467 MB / 1.114 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003302/1.135, allocations: 1.172 MB / 1.115 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.135, allocations: 192 / 1.115 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007736/1.136, allocations: 450.8 kB / 1.115 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/1.138, allocations: 498.3 kB / 1.116 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/1.152, allocations: 9.552 MB / 1.125 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/1.153, allocations: 1.17 MB / 1.126 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001616/1.154, allocations: 275.4 kB / 1.127 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000769/1.155, allocations: 458.7 kB / 1.127 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of SimCode: time 1.292e-06/1.155, allocations: 0.5312 kB / 1.127 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05816/1.213, allocations: 26.8 MB / 1.153 GB, free: 60 kB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002737/1.214, allocations: 272.3 kB / 1.153 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.109/4.323, allocations: 0 / 1.153 GB, free: 15.7 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)