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.412/1.412, allocations: 252 MB / 267.3 MB, free: 10.85 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.001045/0.001045, allocations: 172.6 kB / 327 MB, free: 2.117 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.928/1.928, allocations: 205.4 MB / 0.578 GB, free: 20.2 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.0008821/0.0008822, allocations: 90.3 kB / 0.6826 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003569, allocations: 8.531 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2453, allocations: 106.3 MB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.8325/1.078, allocations: 194.2 MB / 1.091 GB, free: 1.578 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01552/1.093, allocations: 10.38 MB / 1.101 GB, free: 1.344 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002796/1.096, allocations: 48.28 kB / 1.101 GB, free: 1.344 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001657/1.098, allocations: 478.2 kB / 1.101 GB, free: 1.34 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006331/1.104, allocations: 1.846 MB / 1.103 GB, free: 1.242 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004186/1.109, allocations: 1.25 MB / 1.104 GB, free: 1.203 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005393/1.114, allocations: 3.727 MB / 1.108 GB, free: 1.195 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001821/1.116, allocations: 1.007 MB / 1.109 GB, free: 1.02 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005204/1.121, allocations: 1.482 MB / 1.11 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002353/1.123, allocations: 0.919 MB / 1.111 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002105/1.124, allocations: 49.09 kB / 1.111 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005431/1.129, allocations: 2.378 MB / 1.114 GB, free: 0.957 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005539/1.13, allocations: 354.4 kB / 1.114 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001231/1.131, allocations: 0.6403 MB / 1.115 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005395/1.136, allocations: 2.519 MB / 1.117 GB, free: 0.707 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.136, allocations: 0 / 1.117 GB, free: 0.707 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.204e-06/1.136, allocations: 0 / 1.117 GB, free: 0.707 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.92e-05/1.136, allocations: 0 / 1.117 GB, free: 0.707 MB / 0.698 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.003153/1.14, allocations: 1.569 MB / 1.118 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/1.14, allocations: 11.91 kB / 1.119 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/1.14, allocations: 157.6 kB / 1.119 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/1.142, allocations: 370.1 kB / 1.119 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/1.144, allocations: 0.9159 MB / 1.12 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.121e-05/1.144, allocations: 74.8 kB / 1.12 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/1.144, allocations: 109.1 kB / 1.12 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/1.146, allocations: 1.115 MB / 1.121 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/1.146, allocations: 8.906 kB / 1.121 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.659e-05/1.146, allocations: 45.61 kB / 1.121 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.626e-05/1.146, allocations: 37.41 kB / 1.121 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/1.148, allocations: 0.8032 MB / 1.122 GB, free: 15.04 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.006235/1.154, allocations: 5.086 MB / 1.127 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/1.155, allocations: 0.6873 MB / 1.128 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/1.156, allocations: 352 kB / 1.128 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006466/1.156, allocations: 335.4 kB / 1.128 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/1.156, allocations: 37.97 kB / 1.128 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 3.337e-06/1.156, allocations: 0 / 1.128 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.001913/1.158, allocations: 0.9322 MB / 1.129 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/1.158, allocations: 63.94 kB / 1.129 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/1.16, allocations: 0.8764 MB / 1.13 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.862e-05/1.16, allocations: 41.36 kB / 1.13 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004917/1.16, allocations: 0.5606 MB / 1.131 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/1.16, allocations: 249.4 kB / 1.131 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/1.16, allocations: 13.53 kB / 1.131 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001639/1.161, allocations: 334.4 kB / 1.131 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005216/1.161, allocations: 249.4 kB / 1.132 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000819/1.162, allocations: 448 kB / 1.132 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/1.164, allocations: 0.7082 MB / 1.133 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.164, allocations: 5.094 kB / 1.133 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00189/1.165, allocations: 0.8298 MB / 1.134 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002072/1.166, allocations: 229 kB / 1.134 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/1.166, allocations: 9.188 kB / 1.134 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.03e-05/1.166, allocations: 12.16 kB / 1.134 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/1.167, allocations: 252.1 kB / 1.134 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/1.169, allocations: 1.39 MB / 1.135 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/1.17, allocations: 112.7 kB / 1.135 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/1.17, allocations: 33.41 kB / 1.136 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/1.17, allocations: 3.875 kB / 1.136 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001312/1.172, allocations: 0.7037 MB / 1.136 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.172, allocations: 7.625 kB / 1.136 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/1.172, allocations: 11.19 kB / 1.136 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/1.173, allocations: 248.2 kB / 1.136 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/1.175, allocations: 1.402 MB / 1.138 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/1.176, allocations: 113.1 kB / 1.138 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.348e-05/1.176, allocations: 33.41 kB / 1.138 GB, free: 7.074 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008238/1.177, allocations: 370.1 kB / 1.138 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/1.177, allocations: 117.8 kB / 1.138 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/1.179, allocations: 0.7863 MB / 1.139 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/1.179, allocations: 6.031 kB / 1.139 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/1.179, allocations: 0 / 1.139 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001301/1.18, allocations: 0.7059 MB / 1.14 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003722/1.184, allocations: 1.939 MB / 1.142 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/1.184, allocations: 0 / 1.142 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007276/1.185, allocations: 142.2 kB / 1.142 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000454/1.185, allocations: 50.88 kB / 1.142 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/1.186, allocations: 17.03 kB / 1.142 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/1.187, allocations: 1.349 MB / 1.143 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.187, allocations: 2.938 kB / 1.143 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/1.189, allocations: 1.252 MB / 1.145 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005695/1.19, allocations: 254.7 kB / 1.145 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/1.19, allocations: 17.53 kB / 1.145 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007278/1.191, allocations: 69.16 kB / 1.145 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/1.191, allocations: 55.59 kB / 1.145 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-05/1.191, allocations: 20.34 kB / 1.145 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009356/1.192, allocations: 0.6003 MB / 1.146 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/1.192, allocations: 0 / 1.146 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001795/1.194, allocations: 0.5341 MB / 1.146 GB, free: 3.68 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003593/1.197, allocations: 1.909 MB / 1.148 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00395/1.201, allocations: 1.182 MB / 1.149 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.201, allocations: 2.781 kB / 1.149 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008879/1.202, allocations: 456.8 kB / 1.149 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003246/1.205, allocations: 0.5014 MB / 1.15 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/1.22, allocations: 8.997 MB / 1.159 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009783/1.221, allocations: 1.15 MB / 1.16 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001448/1.222, allocations: 278 kB / 1.16 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006858/1.223, allocations: 460.2 kB / 1.161 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of SimCode: time 6.61e-07/1.223, allocations: 0 / 1.161 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05198/1.275, allocations: 26.1 MB / 1.186 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002793/1.275, allocations: 299.6 kB / 1.186 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.644/4.919, allocations: 7.875 kB / 1.186 GB, free: 3.918 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)