Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.MoistureMixingConservationSteadyState,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",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.00101/0.001009, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009906/0.0009906, allocations: 197.2 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 222.9 MB / 239.9 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6909/0.6909, allocations: 132.2 MB / 422.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 67.61 kB / 0.5014 GB, free: 8.988 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.117, allocations: 80.2 MB / 0.5797 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.3812/0.4983, allocations: 219.1 MB / 0.7936 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01514/0.5135, allocations: 13.64 MB / 0.8069 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.5149, allocations: 59.62 kB / 0.807 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.5165, allocations: 0.7073 MB / 0.8077 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003845/0.5204, allocations: 2.021 MB / 0.8097 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.5225, allocations: 1.059 MB / 0.8107 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002506/0.5251, allocations: 2.864 MB / 0.8135 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.5262, allocations: 1.171 MB / 0.8146 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004185/0.5304, allocations: 2.397 MB / 0.817 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.5323, allocations: 1.089 MB / 0.818 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.5325, allocations: 100 kB / 0.8181 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.5345, allocations: 1.672 MB / 0.8198 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003534/0.5349, allocations: 434.7 kB / 0.8202 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005413/0.5354, allocations: 0.6763 MB / 0.8208 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001973/0.5374, allocations: 2.157 MB / 0.823 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5374, allocations: 0 / 0.823 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5374, allocations: 0 / 0.823 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.5375, allocations: 4 kB / 0.823 GB, free: 9.867 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002047/0.5395, allocations: 1.663 MB / 0.8246 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.5396, allocations: 12.03 kB / 0.8246 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.5397, allocations: 135.6 kB / 0.8247 GB, free: 8 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001953/0.5417, allocations: 429.9 kB / 0.8251 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.5428, allocations: 0.8896 MB / 0.826 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008762/0.5437, allocations: 241.8 kB / 0.8262 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.5438, allocations: 84 kB / 0.8263 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.5456, allocations: 1.206 MB / 0.8275 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.5457, allocations: 7.938 kB / 0.8275 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.566e-05/0.5457, allocations: 40 kB / 0.8275 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-05/0.5458, allocations: 29.31 kB / 0.8276 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.5476, allocations: 0.9064 MB / 0.8285 GB, free: 4.043 MB / 0.6387 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.005709/0.5533, allocations: 5.604 MB / 0.8339 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.5537, allocations: 259.7 kB / 0.8342 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.5539, allocations: 149 kB / 0.8343 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.554, allocations: 101.1 kB / 0.8344 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.5541, allocations: 46.5 kB / 0.8345 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006197/0.5547, allocations: 139.1 kB / 0.8346 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.5547, allocations: 0 / 0.8346 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.001063/0.5558, allocations: 480.5 kB / 0.835 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.91e-05/0.5559, allocations: 195.8 kB / 0.8352 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.5575, allocations: 1.298 MB / 0.8365 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.5576, allocations: 33.7 kB / 0.8365 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003918/0.558, allocations: 0.6127 MB / 0.8371 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/0.558, allocations: 75 kB / 0.8372 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.5582, allocations: 130 kB / 0.8373 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.5583, allocations: 322 kB / 0.8376 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006365/0.559, allocations: 248.9 kB / 0.8379 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008197/0.5598, allocations: 0.5296 MB / 0.8384 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009765/0.5608, allocations: 0.6579 MB / 0.839 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.5608, allocations: 4 kB / 0.839 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001742/0.5626, allocations: 0.8378 MB / 0.8399 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.5626, allocations: 12 kB / 0.8399 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.5626, allocations: 12.03 kB / 0.8399 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.5626, allocations: 12 kB / 0.8399 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006765/0.5633, allocations: 171.7 kB / 0.84 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/0.5633, allocations: 15.94 kB / 0.8401 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.5646, allocations: 183.6 kB / 0.8402 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/0.5646, allocations: 39.98 kB / 0.8403 GB, free: 7.215 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003134/0.565, allocations: 295.1 kB / 0.8406 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/0.5652, allocations: 118.5 kB / 0.8407 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004293/0.5656, allocations: 288.1 kB / 0.8409 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5656, allocations: 8 kB / 0.841 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.5656, allocations: 7.938 kB / 0.841 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.5656, allocations: 0 / 0.841 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.5675, allocations: 1.69 MB / 0.8426 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5675, allocations: 0 / 0.8426 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.5677, allocations: 39.92 kB / 0.8427 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.5677, allocations: 4.375 kB / 0.8427 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.5677, allocations: 12 kB / 0.8427 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.5678, allocations: 4.078 kB / 0.8427 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.5678, allocations: 11.92 kB / 0.8427 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004622/0.5682, allocations: 496.1 kB / 0.8432 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.5685, allocations: 235.6 kB / 0.8434 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.5687, allocations: 19.83 kB / 0.8434 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007522/0.5694, allocations: 67.88 kB / 0.8435 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.5695, allocations: 19.92 kB / 0.8435 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.5695, allocations: 15.92 kB / 0.8435 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001285/0.5708, allocations: 0.9195 MB / 0.8444 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5708, allocations: 0 / 0.8444 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006998/0.5715, allocations: 287.5 kB / 0.8447 GB, free: 2.52 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009707/0.5725, allocations: 1.137 MB / 0.8458 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009492/0.5734, allocations: 457.4 kB / 0.8462 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5734, allocations: 0 / 0.8462 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.5736, allocations: 107.9 kB / 0.8463 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/0.5758, allocations: 0.5813 MB / 0.8469 GB, free: 248 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.5875, allocations: 8.911 MB / 0.8556 GB, free: 6.727 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005905/0.5881, allocations: 1.122 MB / 0.8567 GB, free: 5.574 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007047/0.5888, allocations: 229.3 kB / 0.8569 GB, free: 5.348 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000444/0.5892, allocations: 419.3 kB / 0.8573 GB, free: 4.938 MB / 0.67 GB Notification: Performance of SimCode: time 2.5e-07/0.5892, allocations: 3.938 kB / 0.8573 GB, free: 4.934 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.03/2.619, allocations: 27.03 MB / 0.8837 GB, free: 225.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/2.62, allocations: 260.5 kB / 0.884 GB, free: 225.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.694/5.313, allocations: 2.844 kB / 0.884 GB, free: 225.4 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)