Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_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.001502/0.001502, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002448/0.002447, allocations: 286.8 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.032/1.032, allocations: 178.6 MB / 0.5073 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002708/0.002708, allocations: 111.1 kB / 0.6065 GB, free: 24.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1433, allocations: 89.15 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.4801/0.6234, allocations: 221.1 MB / 0.9095 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008964/0.6324, allocations: 5.739 MB / 0.9151 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009348/0.6334, allocations: 43.75 kB / 0.9151 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.6348, allocations: 0.5708 MB / 0.9157 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003867/0.6387, allocations: 1.839 MB / 0.9175 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.6413, allocations: 1.191 MB / 0.9187 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003293/0.6446, allocations: 2.943 MB / 0.9215 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.6459, allocations: 1.022 MB / 0.9225 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.6474, allocations: 1.066 MB / 0.9236 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.6492, allocations: 0.9397 MB / 0.9245 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000193/0.6494, allocations: 108 kB / 0.9246 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.6519, allocations: 1.419 MB / 0.926 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004926/0.6524, allocations: 466.8 kB / 0.9264 GB, free: 13 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006922/0.6531, allocations: 0.6572 MB / 0.9271 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002669/0.6558, allocations: 2.115 MB / 0.9291 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.6558, allocations: 3.938 kB / 0.9291 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.482e-06/0.6558, allocations: 3.938 kB / 0.9291 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.6559, allocations: 0 / 0.9291 GB, free: 10.21 MB / 0.6544 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.002348/0.6582, allocations: 1.516 MB / 0.9306 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.6583, allocations: 8.031 kB / 0.9306 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001803/0.6585, allocations: 135.3 kB / 0.9307 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.6605, allocations: 322.3 kB / 0.9311 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.6617, allocations: 0.8123 MB / 0.9318 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/0.6618, allocations: 69.94 kB / 0.9319 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.6619, allocations: 87.98 kB / 0.932 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.6635, allocations: 0.9209 MB / 0.9329 GB, free: 6.242 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.6635, allocations: 0 / 0.9329 GB, free: 6.242 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.04e-05/0.6636, allocations: 39.98 kB / 0.9329 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.044e-05/0.6636, allocations: 37.94 kB / 0.933 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.6651, allocations: 0.8353 MB / 0.9338 GB, free: 5.328 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.005313/0.6704, allocations: 3.544 MB / 0.9373 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007966/0.6713, allocations: 493.8 kB / 0.9377 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004753/0.6717, allocations: 295.2 kB / 0.938 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/0.6719, allocations: 109.5 kB / 0.9381 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.672, allocations: 43.88 kB / 0.9381 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 1.633e-06/0.672, allocations: 4 kB / 0.9382 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.003482/0.6755, allocations: 1.872 MB / 0.94 GB, free: 14.64 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.6755, allocations: 55.84 kB / 0.94 GB, free: 14.57 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009864/0.6765, allocations: 0.8097 MB / 0.9408 GB, free: 13.75 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.392e-05/0.6766, allocations: 37.7 kB / 0.9409 GB, free: 13.71 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.677, allocations: 475.3 kB / 0.9413 GB, free: 13.24 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.6771, allocations: 173.5 kB / 0.9415 GB, free: 13.07 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.6773, allocations: 130.1 kB / 0.9416 GB, free: 12.93 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.6775, allocations: 326 kB / 0.9419 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/0.6779, allocations: 245.2 kB / 0.9421 GB, free: 12.37 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005533/0.6785, allocations: 384.6 kB / 0.9425 GB, free: 11.95 MB / 0.67 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.003756/0.6822, allocations: 1.547 MB / 0.944 GB, free: 10.34 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.6822, allocations: 0 / 0.944 GB, free: 10.34 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001313/0.6836, allocations: 0.7961 MB / 0.9448 GB, free: 9.535 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.6836, allocations: 5.875 kB / 0.9448 GB, free: 9.531 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.6836, allocations: 5.125 kB / 0.9448 GB, free: 9.527 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/0.6838, allocations: 74.08 kB / 0.9449 GB, free: 9.449 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006792/0.6845, allocations: 143.8 kB / 0.945 GB, free: 9.309 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/0.6871, allocations: 3.134 MB / 0.9481 GB, free: 5.891 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007126/0.6878, allocations: 23.98 kB / 0.9481 GB, free: 5.867 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-05/0.6879, allocations: 24 kB / 0.9481 GB, free: 5.844 MB / 0.67 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004243/0.6883, allocations: 319.4 kB / 0.9484 GB, free: 5.523 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.6885, allocations: 86.97 kB / 0.9485 GB, free: 5.438 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.6887, allocations: 100.7 kB / 0.9486 GB, free: 5.34 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.647e-06/0.6887, allocations: 8 kB / 0.9486 GB, free: 5.332 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.6887, allocations: 0 / 0.9486 GB, free: 5.332 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/0.6898, allocations: 0.8349 MB / 0.9494 GB, free: 4.41 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/0.6926, allocations: 1.79 MB / 0.9512 GB, free: 2.52 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.6926, allocations: 4 kB / 0.9512 GB, free: 2.516 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006141/0.6932, allocations: 136.2 kB / 0.9513 GB, free: 2.383 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.272e-05/0.6933, allocations: 36.84 kB / 0.9514 GB, free: 2.344 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.6933, allocations: 19.98 kB / 0.9514 GB, free: 2.324 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.6946, allocations: 1.59 MB / 0.9529 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.6947, allocations: 4 kB / 0.9529 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.6963, allocations: 1.069 MB / 0.954 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/0.6966, allocations: 235.9 kB / 0.9542 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.6967, allocations: 12 kB / 0.9542 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006677/0.6974, allocations: 32.61 kB / 0.9542 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.984e-05/0.6975, allocations: 43.95 kB / 0.9543 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.175e-05/0.6976, allocations: 35.91 kB / 0.9543 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006927/0.6983, allocations: 0.5615 MB / 0.9549 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6983, allocations: 3.938 kB / 0.9549 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007576/0.699, allocations: 268 kB / 0.9551 GB, free: 14.27 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002201/0.7013, allocations: 1.704 MB / 0.9568 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0014/0.7027, allocations: 0.8704 MB / 0.9576 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.7027, allocations: 4 kB / 0.9576 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005896/0.7033, allocations: 411.9 kB / 0.958 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/0.7059, allocations: 0.5927 MB / 0.9586 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009994/0.7159, allocations: 7.309 MB / 0.9657 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007916/0.7167, allocations: 1.103 MB / 0.9668 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007897/0.7175, allocations: 219.7 kB / 0.967 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004679/0.718, allocations: 339.3 kB / 0.9674 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of SimCode: time 3.2e-07/0.718, allocations: 0 / 0.9674 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5485/1.267, allocations: 27.25 MB / 0.994 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/13.43, allocations: 2.672 kB / 0.994 GB, free: 6.543 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)