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.005328/0.005329, allocations: 98.88 kB / 15.73 MB, free: 6.008 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.001473/0.001473, allocations: 189.9 kB / 16.67 MB, free: 5.926 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00242/0.00242, allocations: 290 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9629/0.9629, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00265/0.00265, allocations: 100.1 kB / 0.681 GB, free: 7.422 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.363, allocations: 86.98 MB / 0.7659 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5639/0.927, allocations: 221.1 MB / 0.9818 GB, free: 16.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007135/0.9342, allocations: 5.726 MB / 0.9874 GB, free: 16.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008971/0.9351, allocations: 41.12 kB / 0.9874 GB, free: 16.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.9363, allocations: 0.5763 MB / 0.988 GB, free: 16.71 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003163/0.9395, allocations: 1.844 MB / 0.9898 GB, free: 16.64 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002205/0.9417, allocations: 1.189 MB / 0.991 GB, free: 16.61 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002353/0.944, allocations: 2.957 MB / 0.9939 GB, free: 16.6 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009758/0.945, allocations: 1.017 MB / 0.9949 GB, free: 16.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.9463, allocations: 1.067 MB / 0.9959 GB, free: 16.49 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.9479, allocations: 0.9518 MB / 0.9968 GB, free: 16.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.948, allocations: 106.9 kB / 0.9969 GB, free: 16.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.9501, allocations: 1.427 MB / 0.9983 GB, free: 16.47 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003458/0.9505, allocations: 467.2 kB / 0.9988 GB, free: 16.46 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005628/0.9511, allocations: 0.6505 MB / 0.9994 GB, free: 16.44 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.9531, allocations: 2.153 MB / 1.001 GB, free: 16.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.9531, allocations: 7.5 kB / 1.002 GB, free: 16.17 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.764e-06/0.9531, allocations: 0 / 1.002 GB, free: 16.17 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.9531, allocations: 3.094 kB / 1.002 GB, free: 16.17 MB / 0.7169 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.001831/0.955, allocations: 1.544 MB / 1.003 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.955, allocations: 6.781 kB / 1.003 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.9552, allocations: 136.3 kB / 1.003 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/0.9569, allocations: 320.9 kB / 1.003 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.958, allocations: 0.8734 MB / 1.004 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.9581, allocations: 64.88 kB / 1.004 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.9582, allocations: 85.66 kB / 1.004 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.9594, allocations: 0.9177 MB / 1.005 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.9595, allocations: 0 / 1.005 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.621e-05/0.9596, allocations: 37.25 kB / 1.005 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.137e-05/0.9596, allocations: 33.16 kB / 1.005 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.9607, allocations: 0.8297 MB / 1.006 GB, free: 14.84 MB / 0.7169 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.003986/0.9647, allocations: 3.53 MB / 1.01 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006343/0.9654, allocations: 490.8 kB / 1.01 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.9657, allocations: 299.2 kB / 1.01 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.9659, allocations: 108.9 kB / 1.011 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.9659, allocations: 42.03 kB / 1.011 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=47): time 2.395e-06/0.9659, allocations: 2.094 kB / 1.011 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=49): time 0.002785/0.9687, allocations: 1.895 MB / 1.012 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.9687, allocations: 57.03 kB / 1.012 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007269/0.9695, allocations: 0.8076 MB / 1.013 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.656e-05/0.9695, allocations: 38.17 kB / 1.013 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.9698, allocations: 485.5 kB / 1.014 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.97, allocations: 181.5 kB / 1.014 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.9702, allocations: 118.2 kB / 1.014 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.854e-05/0.9702, allocations: 334.6 kB / 1.014 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/0.9706, allocations: 244.5 kB / 1.015 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004466/0.9711, allocations: 385.9 kB / 1.015 GB, free: 11.63 MB / 0.7169 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.003065/0.9742, allocations: 1.537 MB / 1.016 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.9742, allocations: 0.9688 kB / 1.016 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001038/0.9752, allocations: 0.7945 MB / 1.017 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.9752, allocations: 4.875 kB / 1.017 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.9753, allocations: 5.938 kB / 1.017 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001396/0.9754, allocations: 67.09 kB / 1.017 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006134/0.976, allocations: 152.4 kB / 1.017 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.9776, allocations: 3.121 MB / 1.021 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00069/0.9783, allocations: 27.77 kB / 1.021 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.9784, allocations: 20.38 kB / 1.021 GB, free: 8.602 MB / 0.7169 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.000309/0.9787, allocations: 311.8 kB / 1.021 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.9788, allocations: 99.58 kB / 1.021 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.979, allocations: 100.8 kB / 1.021 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.979, allocations: 6.375 kB / 1.021 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.979, allocations: 4 kB / 1.021 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007701/0.9798, allocations: 0.8387 MB / 1.022 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.9819, allocations: 1.789 MB / 1.024 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.9819, allocations: 6.438 kB / 1.024 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/0.9825, allocations: 130.1 kB / 1.024 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.665e-05/0.9826, allocations: 40.83 kB / 1.024 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.9826, allocations: 14.38 kB / 1.024 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000794/0.9834, allocations: 1.596 MB / 1.025 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.9834, allocations: 12.19 kB / 1.025 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.9846, allocations: 1.075 MB / 1.026 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002667/0.9849, allocations: 242 kB / 1.027 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.411e-05/0.985, allocations: 14.03 kB / 1.027 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006711/0.9857, allocations: 41.42 kB / 1.027 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.621e-05/0.9858, allocations: 46.5 kB / 1.027 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-05/0.9859, allocations: 27.61 kB / 1.027 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005388/0.9864, allocations: 0.563 MB / 1.027 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9864, allocations: 0 / 1.027 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008244/0.9872, allocations: 275.4 kB / 1.028 GB, free: 5.613 MB / 0.7169 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.001624/0.9889, allocations: 1.701 MB / 1.029 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009935/0.9899, allocations: 0.8038 MB / 1.03 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.9899, allocations: 2.219 kB / 1.03 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004405/0.9903, allocations: 408.2 kB / 1.03 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.9926, allocations: 0.6085 MB / 1.031 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007177/0.9998, allocations: 7.014 MB / 1.038 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/1, allocations: 1.093 MB / 1.039 GB, free: 148 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006211/1.001, allocations: 215.5 kB / 1.039 GB, free: 92 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007302/1.002, allocations: 383.9 kB / 1.04 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/1.002, allocations: 4 kB / 1.04 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5419/1.544, allocations: 27.46 MB / 1.066 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.76/17.31, allocations: 5.547 kB / 1.066 GB, free: 7.113 MB / 0.7481 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)