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.0008274/0.0008276, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009573/0.0009573, allocations: 168.7 kB / 15.95 MB, free: 204 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.382/1.382, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9139/0.9139, allocations: 135.3 MB / 426.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006035/0.0006036, allocations: 8 kB / 0.5071 GB, free: 5.051 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1885, allocations: 82.32 MB / 0.5875 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.5097/0.6982, allocations: 202.1 MB / 0.7849 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01966/0.7179, allocations: 12.86 MB / 0.7974 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002419/0.7204, allocations: 55.62 kB / 0.7975 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001876/0.7223, allocations: 0.5433 MB / 0.798 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005084/0.7274, allocations: 1.602 MB / 0.7996 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002854/0.7303, allocations: 0.9146 MB / 0.8005 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004745/0.735, allocations: 3.38 MB / 0.8038 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001979/0.737, allocations: 0.8728 MB / 0.8046 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005322/0.7423, allocations: 1.852 MB / 0.8064 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.7444, allocations: 0.9415 MB / 0.8073 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003431/0.7448, allocations: 48 kB / 0.8074 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00287/0.7477, allocations: 0.9314 MB / 0.8083 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006745/0.7484, allocations: 362.8 kB / 0.8086 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007979/0.7492, allocations: 281 kB / 0.8089 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002353/0.7515, allocations: 1.426 MB / 0.8103 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.7516, allocations: 3.984 kB / 0.8103 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7516, allocations: 0 / 0.8103 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.323e-05/0.7516, allocations: 0 / 0.8103 GB, free: 8.652 MB / 0.6231 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.002759/0.7544, allocations: 1.427 MB / 0.8117 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.7545, allocations: 8.031 kB / 0.8117 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003074/0.7548, allocations: 147.5 kB / 0.8118 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002335/0.7571, allocations: 477.7 kB / 0.8123 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.7591, allocations: 0.8593 MB / 0.8131 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008288/0.76, allocations: 257.8 kB / 0.8134 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.7602, allocations: 88 kB / 0.8135 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002445/0.7626, allocations: 1.215 MB / 0.8147 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.7627, allocations: 5.188 kB / 0.8147 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.7628, allocations: 40 kB / 0.8147 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.558e-05/0.7628, allocations: 41.23 kB / 0.8147 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.7649, allocations: 0.9143 MB / 0.8156 GB, free: 2.996 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.008359/0.7733, allocations: 5.639 MB / 0.8211 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004502/0.7738, allocations: 255.7 kB / 0.8214 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.774, allocations: 149 kB / 0.8215 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/0.7742, allocations: 101.1 kB / 0.8216 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.7743, allocations: 42.56 kB / 0.8217 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009071/0.7752, allocations: 131.3 kB / 0.8218 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=20): time 5.911e-06/0.7752, allocations: 7.938 kB / 0.8218 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20): time 0.001378/0.7766, allocations: 459.8 kB / 0.8222 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.7767, allocations: 196.4 kB / 0.8224 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/0.7789, allocations: 1.298 MB / 0.8237 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.562e-05/0.7789, allocations: 29.7 kB / 0.8237 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005402/0.7795, allocations: 0.6127 MB / 0.8243 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.668e-05/0.7796, allocations: 71.09 kB / 0.8244 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.7796, allocations: 12 kB / 0.8244 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.7798, allocations: 322 kB / 0.8247 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006466/0.7804, allocations: 256.9 kB / 0.8249 GB, free: 9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008842/0.7813, allocations: 0.5382 MB / 0.8255 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007855/0.7821, allocations: 313.9 kB / 0.8258 GB, free: 8.027 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/0.7821, allocations: 4 kB / 0.8258 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002064/0.7842, allocations: 0.8556 MB / 0.8266 GB, free: 7.16 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.7842, allocations: 11.94 kB / 0.8266 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.7843, allocations: 12 kB / 0.8266 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/0.7843, allocations: 12 kB / 0.8266 GB, free: 7.125 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007478/0.785, allocations: 176.6 kB / 0.8268 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.1e-05/0.7851, allocations: 21.48 kB / 0.8268 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.7865, allocations: 203.7 kB / 0.827 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-05/0.7866, allocations: 39.98 kB / 0.8271 GB, free: 6.695 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004604/0.7871, allocations: 293.5 kB / 0.8273 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.7874, allocations: 118.6 kB / 0.8275 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005401/0.7879, allocations: 279.2 kB / 0.8277 GB, free: 6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.7879, allocations: 0 / 0.8277 GB, free: 6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.7879, allocations: 11.95 kB / 0.8277 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.788, allocations: 2.625 kB / 0.8277 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00255/0.7905, allocations: 1.693 MB / 0.8294 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.7906, allocations: 4.219 kB / 0.8294 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.7908, allocations: 47.86 kB / 0.8294 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-06/0.7908, allocations: 4 kB / 0.8294 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.7908, allocations: 4 kB / 0.8294 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.7908, allocations: 4.375 kB / 0.8295 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.7908, allocations: 15.92 kB / 0.8295 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/0.7914, allocations: 488.2 kB / 0.8299 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004101/0.7918, allocations: 235.5 kB / 0.8302 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/0.792, allocations: 11.98 kB / 0.8302 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000758/0.7928, allocations: 79.94 kB / 0.8302 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.7929, allocations: 15.94 kB / 0.8303 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.7929, allocations: 16 kB / 0.8303 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001541/0.7944, allocations: 0.9115 MB / 0.8312 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7945, allocations: 0 / 0.8312 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001038/0.7955, allocations: 283.5 kB / 0.8314 GB, free: 2.02 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001206/0.7967, allocations: 1.124 MB / 0.8325 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.7978, allocations: 463 kB / 0.833 GB, free: 404 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7978, allocations: 0.75 kB / 0.833 GB, free: 404 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.7979, allocations: 95.83 kB / 0.8331 GB, free: 308 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/0.8004, allocations: 0.5535 MB / 0.8336 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.8115, allocations: 6.398 MB / 0.8399 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008527/0.8124, allocations: 1.126 MB / 0.841 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001011/0.8134, allocations: 226.7 kB / 0.8412 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005693/0.814, allocations: 415.3 kB / 0.8416 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of SimCode: time 4.3e-07/0.814, allocations: 0 / 0.8416 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3342/1.148, allocations: 27.12 MB / 0.8681 GB, free: 216.2 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/1.149, allocations: 259.8 kB / 0.8683 GB, free: 215.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/3.48, allocations: 0 / 0.8683 GB, free: 215.9 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/linux/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) Environment - environmentSimulation: