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.387/1.387, allocations: 249.5 MB / 257 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009559/0.000956, allocations: 179.7 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0007885/0.0007886, allocations: 101.3 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.873e-05/1.876e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2191, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.412/6.631, allocations: 2.245 GB / 3.131 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/6.631, allocations: 92.69 kB / 3.131 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.494/9.125, allocations: 0.5958 GB / 3.727 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.563e-06/9.125, allocations: 0 / 3.727 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001171/9.125, allocations: 38.67 kB / 3.727 GB, free: 178.3 MB / 0.8698 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.003525/9.129, allocations: 1.583 MB / 3.728 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/9.129, allocations: 7.219 kB / 3.728 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/9.131, allocations: 370.1 kB / 3.729 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/9.134, allocations: 1.213 MB / 3.73 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/9.134, allocations: 30.64 kB / 3.73 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/9.134, allocations: 71.38 kB / 3.73 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001312/9.136, allocations: 0.6975 MB / 3.73 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/9.137, allocations: 0.9442 MB / 3.731 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/9.137, allocations: 2.25 kB / 3.731 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.47e-05/9.137, allocations: 3.375 kB / 3.731 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.254e-05/9.137, allocations: 32.16 kB / 3.731 GB, free: 176.9 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.006621/9.144, allocations: 4.935 MB / 3.736 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/9.145, allocations: 0.62 MB / 3.737 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004707/9.145, allocations: 312.5 kB / 3.737 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006216/9.146, allocations: 307.7 kB / 3.737 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/9.146, allocations: 40.59 kB / 3.737 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 4.128e-06/9.146, allocations: 0 / 3.737 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.001739/9.148, allocations: 0.7045 MB / 3.738 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/9.148, allocations: 164.5 kB / 3.738 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009204/9.149, allocations: 0.5946 MB / 3.739 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.309e-05/9.149, allocations: 27.45 kB / 3.739 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/9.15, allocations: 0.5622 MB / 3.739 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/9.15, allocations: 243.8 kB / 3.74 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/9.15, allocations: 3.938 kB / 3.74 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001125/9.15, allocations: 335.9 kB / 3.74 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/9.15, allocations: 229 kB / 3.74 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005351/9.151, allocations: 450.6 kB / 3.741 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006547/9.151, allocations: 352.1 kB / 3.741 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/9.151, allocations: 1.969 kB / 3.741 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001389/9.153, allocations: 0.7906 MB / 3.742 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005551/9.153, allocations: 1.666 MB / 3.743 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/9.153, allocations: 6.656 kB / 3.743 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.756e-05/9.154, allocations: 13.97 kB / 3.743 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/9.155, allocations: 252.8 kB / 3.744 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/9.156, allocations: 1.361 MB / 3.745 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/9.158, allocations: 98.72 kB / 3.745 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.959e-05/9.158, allocations: 31.47 kB / 3.745 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/9.158, allocations: 3.344 kB / 3.745 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001184/9.159, allocations: 0.6591 MB / 3.746 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/9.159, allocations: 7.812 kB / 3.746 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/9.159, allocations: 11 kB / 3.746 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/9.16, allocations: 254.1 kB / 3.746 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/9.161, allocations: 1.37 MB / 3.747 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/9.162, allocations: 94 kB / 3.747 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-05/9.163, allocations: 32.34 kB / 3.748 GB, free: 167.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.0002703/9.163, allocations: 125.9 kB / 3.748 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001239/9.164, allocations: 0.6792 MB / 3.748 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/9.164, allocations: 103.7 kB / 3.748 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/9.166, allocations: 0.774 MB / 3.749 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/9.166, allocations: 7.844 kB / 3.749 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/9.166, allocations: 0 / 3.749 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001306/9.167, allocations: 0.7201 MB / 3.75 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/9.171, allocations: 1.84 MB / 3.752 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/9.171, allocations: 3.969 kB / 3.752 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007089/9.171, allocations: 151.6 kB / 3.752 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004022/9.172, allocations: 44.92 kB / 3.752 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/9.172, allocations: 11.33 kB / 3.752 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/9.173, allocations: 1.327 MB / 3.753 GB, free: 165 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/9.173, allocations: 5.453 kB / 3.753 GB, free: 165 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/9.175, allocations: 1.329 MB / 3.754 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004611/9.175, allocations: 251.6 kB / 3.755 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/9.175, allocations: 6.797 kB / 3.755 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006992/9.176, allocations: 66.05 kB / 3.755 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/9.176, allocations: 54.17 kB / 3.755 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/9.176, allocations: 29.09 kB / 3.755 GB, free: 164 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000581/9.177, allocations: 464.7 kB / 3.755 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/9.177, allocations: 3.281 kB / 3.755 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001983/9.179, allocations: 0.654 MB / 3.756 GB, free: 163.6 MB / 0.8698 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 () * 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.004742/9.184, allocations: 4.228 MB / 3.76 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002486/9.186, allocations: 1.071 MB / 3.761 GB, free: 161 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/9.186, allocations: 0 / 3.761 GB, free: 161 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000638/9.187, allocations: 420.6 kB / 3.762 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/9.189, allocations: 432.2 kB / 3.762 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004047/9.193, allocations: 1.889 MB / 3.764 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006096/9.194, allocations: 1.174 MB / 3.765 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001363/9.195, allocations: 322.2 kB / 3.765 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005427/9.196, allocations: 446.3 kB / 3.766 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.403e-06/9.196, allocations: 3.938 kB / 3.766 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07876/9.274, allocations: 39 MB / 3.804 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/9.275, allocations: 182.2 kB / 3.804 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.419/12.69, allocations: 0 / 3.804 GB, free: 137.3 MB / 0.8698 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)