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.0009775/0.0009775, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009988/0.0009986, allocations: 191.8 kB / 16.14 MB, free: 6.688 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.225/1.225, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.838/0.838, allocations: 135.1 MB / 425.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 64.27 kB / 0.5048 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1317, allocations: 80.92 MB / 0.5838 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.397/0.5287, allocations: 219.6 MB / 0.7983 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01656/0.5453, allocations: 13.83 MB / 0.8118 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00193/0.5473, allocations: 59.62 kB / 0.8118 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.5492, allocations: 0.6759 MB / 0.8125 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004547/0.5537, allocations: 2.031 MB / 0.8145 GB, free: 1 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002613/0.5563, allocations: 1.047 MB / 0.8155 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004115/0.5605, allocations: 4.006 MB / 0.8194 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/0.5619, allocations: 1.029 MB / 0.8204 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00514/0.5671, allocations: 2.239 MB / 0.8226 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002531/0.5696, allocations: 1.058 MB / 0.8236 GB, free: 7.621 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002197/0.5698, allocations: 64 kB / 0.8237 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003136/0.573, allocations: 1.843 MB / 0.8255 GB, free: 5.711 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004975/0.5735, allocations: 402.7 kB / 0.8259 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.5746, allocations: 0.6411 MB / 0.8265 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003113/0.5777, allocations: 2.115 MB / 0.8286 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5777, allocations: 4 kB / 0.8286 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5777, allocations: 0 / 0.8286 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.166e-05/0.5778, allocations: 4 kB / 0.8286 GB, free: 2.543 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.002524/0.5803, allocations: 1.656 MB / 0.8302 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.5804, allocations: 12.02 kB / 0.8302 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.5805, allocations: 139.6 kB / 0.8303 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/0.5826, allocations: 429.9 kB / 0.8308 GB, free: 260 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.5839, allocations: 0.8935 MB / 0.8316 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008498/0.5847, allocations: 237.8 kB / 0.8319 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.5849, allocations: 88 kB / 0.8319 GB, free: 15 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.5867, allocations: 1.21 MB / 0.8331 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.5868, allocations: 7.938 kB / 0.8331 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.8e-05/0.5869, allocations: 36 kB / 0.8332 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.125e-05/0.5869, allocations: 33.31 kB / 0.8332 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.5887, allocations: 0.9025 MB / 0.8341 GB, free: 12.71 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.005797/0.5946, allocations: 5.586 MB / 0.8395 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.5949, allocations: 259.7 kB / 0.8398 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.5951, allocations: 153 kB / 0.8399 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.5953, allocations: 97.09 kB / 0.84 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.5953, allocations: 38.56 kB / 0.8401 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006174/0.596, allocations: 139.1 kB / 0.8402 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.853e-06/0.596, allocations: 3.938 kB / 0.8402 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.001063/0.597, allocations: 464.5 kB / 0.8406 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.5971, allocations: 195.8 kB / 0.8408 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.5988, allocations: 1.294 MB / 0.8421 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.5988, allocations: 33.7 kB / 0.8421 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.5992, allocations: 0.6127 MB / 0.8427 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/0.5993, allocations: 75 kB / 0.8428 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.5994, allocations: 122 kB / 0.8429 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.716e-05/0.5995, allocations: 330 kB / 0.8432 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006282/0.6002, allocations: 240.9 kB / 0.8435 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007894/0.601, allocations: 0.5265 MB / 0.844 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009476/0.6019, allocations: 0.6529 MB / 0.8446 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.6019, allocations: 4 kB / 0.8446 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001684/0.6036, allocations: 0.8261 MB / 0.8454 GB, free: 392 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.6037, allocations: 12 kB / 0.8454 GB, free: 380 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.6037, allocations: 11.94 kB / 0.8454 GB, free: 368 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.6037, allocations: 12 kB / 0.8454 GB, free: 356 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006486/0.6043, allocations: 163.8 kB / 0.8456 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/0.6044, allocations: 25.19 kB / 0.8456 GB, free: 168 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.6057, allocations: 187.7 kB / 0.8458 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.165e-05/0.6057, allocations: 31.94 kB / 0.8458 GB, free: 15.95 MB / 0.67 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.0003513/0.6061, allocations: 297.5 kB / 0.8461 GB, free: 15.65 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.6063, allocations: 114.6 kB / 0.8462 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004115/0.6067, allocations: 280.2 kB / 0.8465 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.6067, allocations: 4 kB / 0.8465 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.6067, allocations: 3.938 kB / 0.8465 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.6068, allocations: 4 kB / 0.8465 GB, free: 15.24 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.6086, allocations: 1.674 MB / 0.8481 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.6086, allocations: 7.984 kB / 0.8482 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.6088, allocations: 40.3 kB / 0.8482 GB, free: 13.42 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.6088, allocations: 8 kB / 0.8482 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.6088, allocations: 4 kB / 0.8482 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.6088, allocations: 4 kB / 0.8482 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.6088, allocations: 4 kB / 0.8482 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004436/0.6093, allocations: 0.4942 MB / 0.8487 GB, free: 12.85 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/0.6095, allocations: 231.6 kB / 0.8489 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.6097, allocations: 8 kB / 0.8489 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007224/0.6104, allocations: 67.92 kB / 0.849 GB, free: 12.53 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.6105, allocations: 19.86 kB / 0.849 GB, free: 12.51 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.6105, allocations: 16 kB / 0.849 GB, free: 12.49 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001276/0.6118, allocations: 0.9115 MB / 0.8499 GB, free: 11.58 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6118, allocations: 0 / 0.8499 GB, free: 11.58 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007571/0.6125, allocations: 283.4 kB / 0.8502 GB, free: 11.3 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.0009826/0.6135, allocations: 1.132 MB / 0.8513 GB, free: 10.12 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009477/0.6145, allocations: 441.5 kB / 0.8517 GB, free: 9.688 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.6145, allocations: 0 / 0.8517 GB, free: 9.688 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.6146, allocations: 99.77 kB / 0.8518 GB, free: 9.59 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/0.617, allocations: 0.5562 MB / 0.8523 GB, free: 9.047 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2211/0.838, allocations: 8.874 MB / 0.861 GB, free: 222.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.8385, allocations: 1.114 MB / 0.8621 GB, free: 221.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008804/0.8394, allocations: 229.8 kB / 0.8623 GB, free: 221.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/0.8398, allocations: 413.5 kB / 0.8627 GB, free: 221.3 MB / 0.67 GB Notification: Performance of SimCode: time 5.21e-07/0.8398, allocations: 0 / 0.8627 GB, free: 221.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4544/1.294, allocations: 26.16 MB / 0.8883 GB, free: 220 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001361/1.294, allocations: 273.1 kB / 0.8885 GB, free: 219.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/3.601, allocations: 4 kB / 0.8885 GB, free: 219.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)