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.0007915/0.0007918, allocations: 91.77 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.0008355/0.0008355, 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 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.2 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7466/0.7466, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003185, allocations: 8 kB / 0.5035 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4751, allocations: 81.57 MB / 0.5831 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.2101/0.6852, allocations: 180.9 MB / 0.7598 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0148/0.7001, allocations: 9.686 MB / 0.7693 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.7019, allocations: 55.69 kB / 0.7693 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.7036, allocations: 389.2 kB / 0.7697 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004587/0.7082, allocations: 1.458 MB / 0.7711 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003167/0.7114, allocations: 1.04 MB / 0.7721 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003772/0.7152, allocations: 3.132 MB / 0.7752 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.7168, allocations: 0.8708 MB / 0.776 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002887/0.7197, allocations: 1.303 MB / 0.7773 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.7212, allocations: 0.8829 MB / 0.7782 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002485/0.7215, allocations: 47.98 kB / 0.7782 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003073/0.7246, allocations: 1.314 MB / 0.7795 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004648/0.725, allocations: 334.8 kB / 0.7798 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004762/0.7255, allocations: 273 kB / 0.7801 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002305/0.7278, allocations: 1.668 MB / 0.7817 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7279, allocations: 0 / 0.7817 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.043e-06/0.7279, allocations: 4 kB / 0.7817 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.076e-05/0.7279, allocations: 0 / 0.7817 GB, free: 4.676 MB / 0.6075 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.002933/0.7309, allocations: 1.577 MB / 0.7833 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.7309, allocations: 11.97 kB / 0.7833 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002468/0.7312, allocations: 160.3 kB / 0.7834 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.7332, allocations: 365.9 kB / 0.7838 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.7348, allocations: 0.8863 MB / 0.7846 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.053e-05/0.7349, allocations: 77.95 kB / 0.7847 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.7351, allocations: 104 kB / 0.7848 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.7368, allocations: 1.098 MB / 0.7859 GB, free: 256 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.7369, allocations: 0 / 0.7859 GB, free: 256 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.494e-05/0.737, allocations: 48 kB / 0.7859 GB, free: 208 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.662e-05/0.737, allocations: 34 kB / 0.786 GB, free: 172 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.7385, allocations: 0.7962 MB / 0.7867 GB, free: 15.37 MB / 0.6231 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.005669/0.7441, allocations: 5.07 MB / 0.7917 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.7453, allocations: 0.7067 MB / 0.7924 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005435/0.7459, allocations: 350.4 kB / 0.7927 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005676/0.7465, allocations: 323.8 kB / 0.793 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.7465, allocations: 43.12 kB / 0.7931 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.265e-06/0.7465, allocations: 3.938 kB / 0.7931 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.001869/0.7484, allocations: 0.9352 MB / 0.794 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.7485, allocations: 59.97 kB / 0.794 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.7495, allocations: 0.8724 MB / 0.7949 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.778e-05/0.7496, allocations: 41.7 kB / 0.7949 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.75, allocations: 0.5586 MB / 0.7955 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.7502, allocations: 240.4 kB / 0.7957 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.7503, allocations: 16 kB / 0.7957 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.7504, allocations: 341.9 kB / 0.796 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004513/0.7508, allocations: 241.9 kB / 0.7963 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/0.7514, allocations: 447 kB / 0.7967 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005282/0.752, allocations: 307.1 kB / 0.797 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.752, allocations: 4 kB / 0.797 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001354/0.7533, allocations: 0.8281 MB / 0.7978 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.7535, allocations: 233 kB / 0.798 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.7535, allocations: 8 kB / 0.798 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.7535, allocations: 8 kB / 0.798 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.755, allocations: 247.7 kB / 0.7983 GB, free: 2.926 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.7563, allocations: 1.389 MB / 0.7996 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008916/0.7572, allocations: 119.1 kB / 0.7997 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.157e-05/0.7573, allocations: 32 kB / 0.7998 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.7573, allocations: 4 kB / 0.7998 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001221/0.7585, allocations: 0.7021 MB / 0.8005 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.7585, allocations: 11.92 kB / 0.8005 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.7585, allocations: 8 kB / 0.8005 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.7599, allocations: 256.3 kB / 0.8007 GB, free: 280 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.7611, allocations: 1.393 MB / 0.8021 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008034/0.7619, allocations: 107.3 kB / 0.8022 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.756e-05/0.762, allocations: 32 kB / 0.8022 GB, free: 14.61 MB / 0.6387 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.0005733/0.7626, allocations: 368.8 kB / 0.8026 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.7628, allocations: 110.7 kB / 0.8027 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/0.7645, allocations: 0.794 MB / 0.8035 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.7646, allocations: 4 kB / 0.8035 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.7646, allocations: 0 / 0.8035 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001254/0.7658, allocations: 0.7039 MB / 0.8041 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003367/0.7692, allocations: 1.934 MB / 0.806 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.7692, allocations: 0 / 0.806 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006986/0.7699, allocations: 143.8 kB / 0.8062 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004061/0.7703, allocations: 49.05 kB / 0.8062 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.273e-05/0.7704, allocations: 23.92 kB / 0.8062 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/0.7717, allocations: 1.348 MB / 0.8076 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.7717, allocations: 4 kB / 0.8076 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.7738, allocations: 1.254 MB / 0.8088 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004605/0.7743, allocations: 251.6 kB / 0.809 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.7745, allocations: 16 kB / 0.809 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006791/0.7751, allocations: 64.45 kB / 0.8091 GB, free: 7.223 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.06e-05/0.7752, allocations: 44.45 kB / 0.8091 GB, free: 7.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.7753, allocations: 20 kB / 0.8092 GB, free: 7.16 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008317/0.7761, allocations: 0.5928 MB / 0.8097 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.502e-06/0.7761, allocations: 4 kB / 0.8097 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001519/0.7777, allocations: 0.5335 MB / 0.8103 GB, free: 6.02 MB / 0.6387 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.002663/0.7803, allocations: 1.902 MB / 0.8121 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003292/0.7836, allocations: 1.186 MB / 0.8133 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.7837, allocations: 0 / 0.8133 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007271/0.7844, allocations: 441.7 kB / 0.8137 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/0.7867, allocations: 0.5038 MB / 0.8142 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2792/1.066, allocations: 6.613 MB / 0.8207 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008429/1.067, allocations: 1.146 MB / 0.8218 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001368/1.068, allocations: 269.4 kB / 0.822 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005908/1.069, allocations: 458.8 kB / 0.8225 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of SimCode: time 2.545e-06/1.069, allocations: 1.031 kB / 0.8225 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05046/1.119, allocations: 26.75 MB / 0.8486 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/1.12, allocations: 249.1 kB / 0.8488 GB, free: 202.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/3.48, allocations: 0 / 0.8488 GB, free: 202.2 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: