Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.001384/0.001384, allocations: 100.3 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.001754/0.001754, 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 1.438/1.438, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7458/0.7458, allocations: 132.2 MB / 423.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003735, allocations: 15.97 kB / 0.5033 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6463/0.6467, allocations: 81.57 MB / 0.583 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.385/1.032, allocations: 182.1 MB / 0.7608 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01864/1.05, allocations: 5.638 MB / 0.7663 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002232/1.053, allocations: 35.75 kB / 0.7663 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00394/1.057, allocations: 0.5715 MB / 0.7669 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01058/1.067, allocations: 1.667 MB / 0.7685 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007438/1.075, allocations: 1.189 MB / 0.7697 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005515/1.08, allocations: 1.673 MB / 0.7713 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/1.082, allocations: 0.727 MB / 0.772 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/1.085, allocations: 0.7785 MB / 0.7728 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/1.087, allocations: 0.5798 MB / 0.7733 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002821/1.088, allocations: 40 kB / 0.7734 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003543/1.091, allocations: 0.6162 MB / 0.774 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008022/1.092, allocations: 355 kB / 0.7743 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006418/1.093, allocations: 257.1 kB / 0.7746 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003201/1.096, allocations: 1.387 MB / 0.7759 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.096, allocations: 0 / 0.7759 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.835e-06/1.096, allocations: 4 kB / 0.7759 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.099e-05/1.096, allocations: 0 / 0.7759 GB, free: 10.51 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003979/1.1, allocations: 1.27 MB / 0.7772 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/1.1, allocations: 12.03 kB / 0.7772 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003626/1.101, allocations: 139.3 kB / 0.7773 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004134/1.105, allocations: 310.3 kB / 0.7776 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002926/1.108, allocations: 0.7935 MB / 0.7784 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/1.108, allocations: 62 kB / 0.7784 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003388/1.108, allocations: 87.98 kB / 0.7785 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/1.112, allocations: 0.9052 MB / 0.7794 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/1.112, allocations: 3.953 kB / 0.7794 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/1.112, allocations: 40 kB / 0.7794 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.691e-05/1.112, allocations: 34 kB / 0.7795 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003068/1.115, allocations: 0.8393 MB / 0.7803 GB, free: 5.918 MB / 0.6075 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.01098/1.126, allocations: 3.541 MB / 0.7837 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/1.128, allocations: 0.4999 MB / 0.7842 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.125e-05/1.128, allocations: 8.438 kB / 0.7842 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.876e-05/1.128, allocations: 43 kB / 0.7843 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 3.977e-06/1.128, allocations: 0 / 0.7843 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.007259/1.135, allocations: 1.892 MB / 0.7861 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/1.136, allocations: 59.8 kB / 0.7862 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/1.137, allocations: 0.8019 MB / 0.787 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001299/1.138, allocations: 41.7 kB / 0.787 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006111/1.138, allocations: 483.2 kB / 0.7875 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/1.139, allocations: 173.5 kB / 0.7876 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/1.139, allocations: 12 kB / 0.7877 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001955/1.139, allocations: 334 kB / 0.788 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008358/1.14, allocations: 245.2 kB / 0.7882 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/1.141, allocations: 380.6 kB / 0.7886 GB, free: 13.02 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005559/1.146, allocations: 0.9869 MB / 0.7895 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/1.146, allocations: 4 kB / 0.7895 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00297/1.149, allocations: 0.7922 MB / 0.7903 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/1.149, allocations: 8 kB / 0.7903 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/1.149, allocations: 4.406 kB / 0.7903 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003106/1.15, allocations: 69.67 kB / 0.7904 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/1.151, allocations: 155.8 kB / 0.7905 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004439/1.156, allocations: 2.916 MB / 0.7934 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/1.158, allocations: 63.98 kB / 0.7934 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/1.158, allocations: 28 kB / 0.7935 GB, free: 7.691 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008703/1.159, allocations: 297.6 kB / 0.7938 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003058/1.159, allocations: 94.88 kB / 0.7938 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/1.159, allocations: 104.7 kB / 0.7939 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/1.159, allocations: 7.953 kB / 0.794 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.159, allocations: 0 / 0.794 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001853/1.161, allocations: 0.8427 MB / 0.7948 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004408/1.166, allocations: 1.81 MB / 0.7965 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.166, allocations: 4 kB / 0.7965 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000943/1.167, allocations: 139.8 kB / 0.7967 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001505/1.167, allocations: 40.95 kB / 0.7967 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.657e-05/1.167, allocations: 20 kB / 0.7967 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/1.168, allocations: 1.484 MB / 0.7982 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.168, allocations: 11.89 kB / 0.7982 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/1.17, allocations: 1.254 MB / 0.7994 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006087/1.171, allocations: 239.9 kB / 0.7996 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/1.171, allocations: 23.94 kB / 0.7997 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008552/1.172, allocations: 63.2 kB / 0.7997 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/1.172, allocations: 43.89 kB / 0.7998 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.814e-05/1.172, allocations: 23.98 kB / 0.7998 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008557/1.173, allocations: 0.5576 MB / 0.8003 GB, free: 172 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/1.173, allocations: 0 / 0.8003 GB, free: 172 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001021/1.174, allocations: 276 kB / 0.8006 GB, free: 15.89 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * 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 (47): * Single equations (assignments): 46 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002847/1.177, allocations: 2.801 MB / 0.8033 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001417/1.178, allocations: 0.8038 MB / 0.8041 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.178, allocations: 4 kB / 0.8041 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006472/1.179, allocations: 409.4 kB / 0.8045 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/1.182, allocations: 0.5719 MB / 0.8051 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009882/1.191, allocations: 7.339 MB / 0.8122 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008181/1.192, allocations: 1.103 MB / 0.8133 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001012/1.193, allocations: 215.7 kB / 0.8135 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004977/1.194, allocations: 347.3 kB / 0.8139 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of SimCode: time 8.82e-07/1.194, allocations: 3.938 kB / 0.8139 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4156/1.61, allocations: 26.79 MB / 0.84 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/1.61, allocations: 259 kB / 0.8403 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.523/5.133, allocations: 0 / 0.8403 GB, free: 208.5 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) Environment - environmentSimulation: