Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IDEAS_IDEAS_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.001305/0.001305, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001398/0.001398, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.363/2.363, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9974/0.9974, allocations: 132.2 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000553/0.0005532, allocations: 8.906 kB / 0.5033 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8064/0.807, allocations: 81.57 MB / 0.583 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.3149/1.122, allocations: 164.9 MB / 0.744 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02218/1.144, allocations: 9.343 MB / 0.7531 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002635/1.147, allocations: 47.69 kB / 0.7531 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002804/1.15, allocations: 0.5207 MB / 0.7536 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009259/1.159, allocations: 1.718 MB / 0.7553 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007521/1.167, allocations: 1.363 MB / 0.7566 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005643/1.172, allocations: 1.665 MB / 0.7583 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002767/1.175, allocations: 0.8788 MB / 0.7591 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005144/1.18, allocations: 1.18 MB / 0.7603 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/1.182, allocations: 0.6495 MB / 0.7609 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002553/1.183, allocations: 48 kB / 0.761 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004749/1.187, allocations: 1.053 MB / 0.762 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005985/1.188, allocations: 311 kB / 0.7623 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006364/1.189, allocations: 273 kB / 0.7625 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00334/1.192, allocations: 1.531 MB / 0.764 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.192, allocations: 0 / 0.764 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.174e-06/1.192, allocations: 0 / 0.764 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.025e-05/1.192, allocations: 0 / 0.764 GB, free: 6.664 MB / 0.5919 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.004265/1.196, allocations: 1.534 MB / 0.7655 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/1.196, allocations: 12.03 kB / 0.7656 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003124/1.197, allocations: 156.2 kB / 0.7657 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004138/1.201, allocations: 365.9 kB / 0.7661 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002772/1.204, allocations: 0.8747 MB / 0.7669 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/1.204, allocations: 77.95 kB / 0.767 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/1.204, allocations: 115.9 kB / 0.7671 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/1.207, allocations: 1.083 MB / 0.7681 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/1.207, allocations: 4 kB / 0.7682 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/1.207, allocations: 43.94 kB / 0.7682 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.068e-05/1.207, allocations: 41.98 kB / 0.7682 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00249/1.21, allocations: 0.7963 MB / 0.769 GB, free: 1.41 MB / 0.5919 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.009772/1.22, allocations: 5.078 MB / 0.774 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/1.222, allocations: 0.711 MB / 0.7747 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006302/1.222, allocations: 137.6 kB / 0.7748 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.589e-05/1.223, allocations: 47.12 kB / 0.7748 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 4.849e-06/1.223, allocations: 0 / 0.7748 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.003394/1.226, allocations: 0.931 MB / 0.7757 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/1.226, allocations: 63.95 kB / 0.7758 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/1.228, allocations: 0.8686 MB / 0.7767 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.689e-05/1.228, allocations: 41.64 kB / 0.7767 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000697/1.229, allocations: 0.5624 MB / 0.7772 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003379/1.229, allocations: 244.4 kB / 0.7775 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/1.229, allocations: 16 kB / 0.7775 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002051/1.229, allocations: 333.9 kB / 0.7778 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008394/1.23, allocations: 245.9 kB / 0.778 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/1.231, allocations: 447 kB / 0.7785 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009781/1.232, allocations: 307 kB / 0.7788 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/1.232, allocations: 8 kB / 0.7788 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002564/1.235, allocations: 0.8279 MB / 0.7796 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.001143/1.236, allocations: 1.839 MB / 0.7814 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/1.236, allocations: 4 kB / 0.7814 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.311e-05/1.236, allocations: 12 kB / 0.7814 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00258/1.239, allocations: 251.7 kB / 0.7816 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/1.241, allocations: 1.401 MB / 0.783 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/1.243, allocations: 107.2 kB / 0.7831 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.243, allocations: 32.03 kB / 0.7831 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/1.243, allocations: 4 kB / 0.7831 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002188/1.245, allocations: 0.7061 MB / 0.7838 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/1.245, allocations: 4 kB / 0.7838 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/1.245, allocations: 8 kB / 0.7838 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/1.248, allocations: 252.3 kB / 0.7841 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/1.25, allocations: 1.405 MB / 0.7855 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/1.251, allocations: 111.2 kB / 0.7856 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/1.252, allocations: 35.98 kB / 0.7856 GB, free: 15.51 MB / 0.6231 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.000934/1.252, allocations: 368.8 kB / 0.7859 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/1.253, allocations: 110.6 kB / 0.7861 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002851/1.256, allocations: 0.794 MB / 0.7868 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/1.256, allocations: 8 kB / 0.7868 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.256, allocations: 0 / 0.7868 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00226/1.258, allocations: 0.7 MB / 0.7875 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005763/1.264, allocations: 1.934 MB / 0.7894 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/1.264, allocations: 3.938 kB / 0.7894 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.265, allocations: 143.8 kB / 0.7895 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007085/1.266, allocations: 49.03 kB / 0.7896 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-05/1.266, allocations: 16 kB / 0.7896 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002291/1.268, allocations: 1.36 MB / 0.7909 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/1.268, allocations: 7.891 kB / 0.7909 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004061/1.272, allocations: 1.325 MB / 0.7922 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009233/1.273, allocations: 259.4 kB / 0.7925 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/1.274, allocations: 27.98 kB / 0.7925 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/1.275, allocations: 59.8 kB / 0.7926 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/1.275, allocations: 40.5 kB / 0.7926 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.304e-05/1.275, allocations: 24 kB / 0.7926 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001484/1.276, allocations: 0.5889 MB / 0.7932 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.11e-07/1.277, allocations: 0 / 0.7932 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003188/1.28, allocations: 0.5258 MB / 0.7937 GB, free: 6.793 MB / 0.6231 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.005681/1.285, allocations: 2.479 MB / 0.7961 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006108/1.292, allocations: 1.178 MB / 0.7973 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/1.292, allocations: 0 / 0.7973 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/1.293, allocations: 454.2 kB / 0.7977 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004288/1.297, allocations: 492.6 kB / 0.7982 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02197/1.319, allocations: 9.568 MB / 0.8075 GB, free: 8.211 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/1.321, allocations: 1.167 MB / 0.8087 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002298/1.323, allocations: 276.8 kB / 0.8089 GB, free: 6.738 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.324, allocations: 459.3 kB / 0.8094 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of SimCode: time 2.154e-06/1.324, allocations: 0 / 0.8094 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6196/1.944, allocations: 26.69 MB / 0.8354 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002677/1.944, allocations: 242.1 kB / 0.8357 GB, free: 208.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.793/5.737, allocations: 0 / 0.8357 GB, free: 208.8 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1) Environment - environmentSimulation: