Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="IDEAS_dev_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.0008117/0.0008118, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.00478/0.00478, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.282/1.282, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8838/0.8838, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003154/0.0003155, allocations: 8 kB / 0.5077 GB, free: 4.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.143, allocations: 82.31 MB / 0.5881 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.5054/0.6485, allocations: 216.6 MB / 0.7996 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01732/0.6658, allocations: 13.68 MB / 0.813 GB, free: 5.934 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001637/0.6675, allocations: 55.62 kB / 0.8131 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.6693, allocations: 0.6721 MB / 0.8137 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004831/0.6741, allocations: 2.027 MB / 0.8157 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.6766, allocations: 1.049 MB / 0.8167 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00379/0.6804, allocations: 4.002 MB / 0.8206 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.6817, allocations: 0.999 MB / 0.8216 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0049/0.6866, allocations: 2.186 MB / 0.8237 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002476/0.6891, allocations: 1.016 MB / 0.8247 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001809/0.6893, allocations: 44 kB / 0.8248 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003012/0.6923, allocations: 1.824 MB / 0.8265 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004291/0.6928, allocations: 374.6 kB / 0.8269 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007894/0.6936, allocations: 0.6271 MB / 0.8275 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002559/0.6961, allocations: 2.087 MB / 0.8296 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6961, allocations: 3.938 kB / 0.8296 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6961, allocations: 0 / 0.8296 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.093e-05/0.6962, allocations: 0 / 0.8296 GB, free: 4.941 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.002347/0.6985, allocations: 1.413 MB / 0.8309 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.6986, allocations: 12.03 kB / 0.831 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001994/0.6988, allocations: 143.6 kB / 0.8311 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00216/0.701, allocations: 477.8 kB / 0.8315 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.7023, allocations: 0.8935 MB / 0.8324 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009145/0.7032, allocations: 265.8 kB / 0.8327 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.7033, allocations: 88 kB / 0.8328 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.7053, allocations: 1.214 MB / 0.8339 GB, free: 260 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.7054, allocations: 7.938 kB / 0.8339 GB, free: 252 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-05/0.7055, allocations: 40 kB / 0.834 GB, free: 212 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.231e-05/0.7055, allocations: 37.3 kB / 0.834 GB, free: 176 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.7076, allocations: 0.9298 MB / 0.8349 GB, free: 15.24 MB / 0.6544 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.006259/0.7138, allocations: 5.632 MB / 0.8404 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.7142, allocations: 263.7 kB / 0.8407 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.7144, allocations: 149.1 kB / 0.8408 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.7146, allocations: 97.09 kB / 0.8409 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.7146, allocations: 46.48 kB / 0.841 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006247/0.7153, allocations: 131.2 kB / 0.8411 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/0.7153, allocations: 0 / 0.8411 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.001083/0.7164, allocations: 479.8 kB / 0.8415 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/0.7164, allocations: 187.9 kB / 0.8417 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.7183, allocations: 1.306 MB / 0.843 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.7184, allocations: 33.7 kB / 0.843 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004333/0.7188, allocations: 0.6089 MB / 0.8436 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6e-05/0.7189, allocations: 79 kB / 0.8437 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/0.719, allocations: 45.69 kB / 0.8437 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.7191, allocations: 326 kB / 0.8441 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007062/0.7198, allocations: 252.9 kB / 0.8443 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008665/0.7206, allocations: 0.5382 MB / 0.8448 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.7217, allocations: 0.6586 MB / 0.8455 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/0.7218, allocations: 4 kB / 0.8455 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001914/0.7237, allocations: 0.8692 MB / 0.8463 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.7237, allocations: 8 kB / 0.8463 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.7237, allocations: 8 kB / 0.8463 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.7238, allocations: 12 kB / 0.8463 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/0.7244, allocations: 172.4 kB / 0.8465 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/0.7245, allocations: 27.86 kB / 0.8465 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.7259, allocations: 199.7 kB / 0.8467 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/0.7259, allocations: 47.8 kB / 0.8468 GB, free: 2.395 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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.0003441/0.7263, allocations: 293.6 kB / 0.847 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.7265, allocations: 114.6 kB / 0.8472 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004575/0.727, allocations: 288.2 kB / 0.8474 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.727, allocations: 4 kB / 0.8474 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.727, allocations: 3.938 kB / 0.8474 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.727, allocations: 0 / 0.8474 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/0.729, allocations: 1.678 MB / 0.8491 GB, free: 15.91 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.729, allocations: 8.062 kB / 0.8491 GB, free: 15.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.7292, allocations: 39.91 kB / 0.8491 GB, free: 15.86 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.7292, allocations: 4 kB / 0.8491 GB, free: 15.86 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.7292, allocations: 8 kB / 0.8491 GB, free: 15.85 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.7292, allocations: 4 kB / 0.8491 GB, free: 15.84 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.7293, allocations: 7.938 kB / 0.8491 GB, free: 15.84 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004819/0.7297, allocations: 0.4942 MB / 0.8496 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002917/0.73, allocations: 231.6 kB / 0.8499 GB, free: 15.04 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.7302, allocations: 4 kB / 0.8499 GB, free: 15.04 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007756/0.731, allocations: 79.92 kB / 0.8499 GB, free: 14.96 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.731, allocations: 19.92 kB / 0.8499 GB, free: 14.94 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.731, allocations: 11.94 kB / 0.85 GB, free: 14.93 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001409/0.7324, allocations: 0.931 MB / 0.8509 GB, free: 13.99 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7325, allocations: 0 / 0.8509 GB, free: 13.99 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007539/0.7332, allocations: 283.4 kB / 0.8511 GB, free: 13.71 MB / 0.67 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.0009573/0.7342, allocations: 1.122 MB / 0.8522 GB, free: 12.54 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009828/0.7352, allocations: 452.9 kB / 0.8527 GB, free: 12.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7352, allocations: 0 / 0.8527 GB, free: 12.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.7353, allocations: 95.83 kB / 0.8528 GB, free: 12 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/0.7383, allocations: 0.5626 MB / 0.8533 GB, free: 11.46 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/0.7511, allocations: 8.982 MB / 0.8621 GB, free: 1.863 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006212/0.7518, allocations: 1.114 MB / 0.8632 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008036/0.7526, allocations: 233.5 kB / 0.8634 GB, free: 500 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004582/0.753, allocations: 415.3 kB / 0.8638 GB, free: 88 kB / 0.67 GB Notification: Performance of SimCode: time 5.11e-07/0.7531, allocations: 0 / 0.8638 GB, free: 88 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.052/3.805, allocations: 25.94 MB / 0.8891 GB, free: 217 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/3.806, allocations: 270.9 kB / 0.8894 GB, free: 216.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.104/7.91, allocations: 0 / 0.8894 GB, free: 216.6 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)