Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",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.0009675/0.0009675, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001188/0.001188, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.711/1.711, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005561/0.0005562, allocations: 16.91 kB / 0.6738 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2535, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.7974/1.051, allocations: 180.9 MB / 0.9641 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01498/1.066, allocations: 9.637 MB / 0.9735 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003213/1.069, allocations: 47.78 kB / 0.9735 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002425/1.072, allocations: 398.5 kB / 0.9739 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006922/1.079, allocations: 1.448 MB / 0.9753 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004355/1.083, allocations: 1.046 MB / 0.9764 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005552/1.089, allocations: 3.122 MB / 0.9794 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002254/1.091, allocations: 0.8637 MB / 0.9803 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004295/1.095, allocations: 1.309 MB / 0.9815 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/1.098, allocations: 0.8667 MB / 0.9824 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004637/1.098, allocations: 51.06 kB / 0.9824 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004423/1.102, allocations: 1.318 MB / 0.9837 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000696/1.103, allocations: 336.9 kB / 0.984 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009324/1.104, allocations: 273.7 kB / 0.9843 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00358/1.108, allocations: 1.668 MB / 0.9859 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.108, allocations: 0 / 0.9859 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.977e-06/1.108, allocations: 3.219 kB / 0.9859 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001189/1.108, allocations: 3.938 kB / 0.9859 GB, free: 16.62 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.004217/1.112, allocations: 1.576 MB / 0.9875 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/1.112, allocations: 11.34 kB / 0.9875 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003964/1.113, allocations: 158.3 kB / 0.9876 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002399/1.115, allocations: 368.7 kB / 0.988 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/1.117, allocations: 0.873 MB / 0.9888 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-05/1.117, allocations: 80.95 kB / 0.9889 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/1.117, allocations: 103.2 kB / 0.989 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/1.12, allocations: 1.103 MB / 0.9901 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.063e-05/1.12, allocations: 6.594 kB / 0.9901 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/1.12, allocations: 44.52 kB / 0.9901 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.911e-05/1.12, allocations: 34 kB / 0.9902 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/1.122, allocations: 0.7975 MB / 0.9909 GB, free: 14.27 MB / 0.7325 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.007301/1.129, allocations: 5.06 MB / 0.9959 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/1.13, allocations: 0.7106 MB / 0.9966 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005563/1.131, allocations: 350 kB / 0.9969 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006855/1.131, allocations: 331 kB / 0.9972 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/1.131, allocations: 40.5 kB / 0.9973 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 3.577e-06/1.131, allocations: 0 / 0.9973 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.002028/1.133, allocations: 0.9381 MB / 0.9982 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/1.134, allocations: 58.16 kB / 0.9982 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/1.135, allocations: 0.8669 MB / 0.9991 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.908e-05/1.135, allocations: 38.48 kB / 0.9991 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004081/1.135, allocations: 0.5599 MB / 0.9997 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/1.135, allocations: 239.8 kB / 0.9999 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/1.136, allocations: 20.25 kB / 0.9999 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.136, allocations: 339.3 kB / 1 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004513/1.136, allocations: 241.1 kB / 1 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000577/1.137, allocations: 449.6 kB / 1.001 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005274/1.137, allocations: 311.2 kB / 1.001 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/1.137, allocations: 2.562 kB / 1.001 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00143/1.139, allocations: 0.827 MB / 1.002 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002111/1.139, allocations: 233.5 kB / 1.002 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/1.139, allocations: 5.125 kB / 1.002 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.185e-05/1.139, allocations: 10.69 kB / 1.002 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/1.14, allocations: 246.5 kB / 1.002 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/1.142, allocations: 1.403 MB / 1.004 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009819/1.143, allocations: 123 kB / 1.004 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.609e-05/1.143, allocations: 33.03 kB / 1.004 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/1.143, allocations: 3.281 kB / 1.004 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001179/1.144, allocations: 0.7068 MB / 1.005 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.144, allocations: 5.906 kB / 1.005 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/1.144, allocations: 10.91 kB / 1.005 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/1.145, allocations: 247.8 kB / 1.005 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/1.147, allocations: 1.393 MB / 1.006 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009747/1.148, allocations: 111.5 kB / 1.006 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.718e-05/1.148, allocations: 29.09 kB / 1.006 GB, free: 4.82 MB / 0.7325 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.000678/1.149, allocations: 373.7 kB / 1.007 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/1.149, allocations: 106.9 kB / 1.007 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/1.151, allocations: 0.7895 MB / 1.008 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.944e-06/1.151, allocations: 6.219 kB / 1.008 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.151, allocations: 3.25 kB / 1.008 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001243/1.152, allocations: 0.7072 MB / 1.008 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003846/1.156, allocations: 1.921 MB / 1.01 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/1.156, allocations: 2.5 kB / 1.01 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007378/1.157, allocations: 149.7 kB / 1.01 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000433/1.157, allocations: 39.7 kB / 1.01 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.965e-05/1.157, allocations: 19.19 kB / 1.01 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/1.158, allocations: 1.351 MB / 1.012 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/1.158, allocations: 4.703 kB / 1.012 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002291/1.161, allocations: 1.245 MB / 1.013 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006956/1.161, allocations: 260.4 kB / 1.013 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/1.162, allocations: 18.45 kB / 1.013 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008182/1.163, allocations: 67.2 kB / 1.013 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/1.163, allocations: 51.7 kB / 1.013 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/1.163, allocations: 19.56 kB / 1.013 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009585/1.164, allocations: 0.586 MB / 1.014 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.165e-06/1.164, allocations: 0 / 1.014 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002051/1.166, allocations: 0.5294 MB / 1.014 GB, free: 1 MB / 0.7325 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.003037/1.169, allocations: 1.911 MB / 1.016 GB, free: 20 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003774/1.173, allocations: 1.187 MB / 1.018 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.173, allocations: 0 / 1.018 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008616/1.174, allocations: 448.1 kB / 1.018 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002893/1.176, allocations: 0.503 MB / 1.018 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/1.189, allocations: 6.599 MB / 1.025 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008681/1.19, allocations: 1.142 MB / 1.026 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001321/1.191, allocations: 270.7 kB / 1.026 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006646/1.192, allocations: 461.6 kB / 1.027 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of SimCode: time 9.12e-07/1.192, allocations: 0 / 1.027 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05529/1.247, allocations: 26.7 MB / 1.053 GB, free: 2.207 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002796/1.248, allocations: 265.4 kB / 1.053 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.558/3.806, allocations: 0 / 1.053 GB, free: 1.848 MB / 0.7637 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1) Environment - environmentSimulation: