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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 103.4 kB / 16.36 MB, free: 6.289 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.001334/0.001334, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002127/0.002127, allocations: 290.2 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9408/0.9408, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 95.11 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1613, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5035/0.6649, allocations: 221.1 MB / 0.8975 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008811/0.6737, allocations: 5.721 MB / 0.9031 GB, free: 11.48 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.6751, allocations: 43.75 kB / 0.9031 GB, free: 11.44 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.6767, allocations: 0.5747 MB / 0.9037 GB, free: 10.86 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004131/0.6808, allocations: 1.85 MB / 0.9055 GB, free: 9.008 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.6836, allocations: 1.19 MB / 0.9066 GB, free: 7.824 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003387/0.687, allocations: 2.949 MB / 0.9095 GB, free: 4.871 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.6882, allocations: 1.029 MB / 0.9105 GB, free: 3.828 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.6897, allocations: 1.066 MB / 0.9116 GB, free: 2.758 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/0.6914, allocations: 0.9457 MB / 0.9125 GB, free: 1.824 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.6916, allocations: 108 kB / 0.9126 GB, free: 1.719 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002465/0.6941, allocations: 1.426 MB / 0.914 GB, free: 296 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004358/0.6945, allocations: 462.8 kB / 0.9144 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007831/0.6953, allocations: 0.6456 MB / 0.9151 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002517/0.6978, allocations: 2.142 MB / 0.9172 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.6979, allocations: 0 / 0.9172 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6979, allocations: 0 / 0.9172 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.453e-05/0.6979, allocations: 4 kB / 0.9172 GB, free: 13.04 MB / 0.6856 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.002281/0.7002, allocations: 1.5 MB / 0.9186 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.7002, allocations: 8.031 kB / 0.9186 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/0.7022, allocations: 322.2 kB / 0.9189 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.7036, allocations: 0.8552 MB / 0.9198 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.766e-05/0.7037, allocations: 66 kB / 0.9198 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.7038, allocations: 91.94 kB / 0.9199 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.7053, allocations: 0.9131 MB / 0.9208 GB, free: 9.184 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.7054, allocations: 3.906 kB / 0.9208 GB, free: 9.18 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-05/0.7054, allocations: 36 kB / 0.9209 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.59e-05/0.7055, allocations: 30 kB / 0.9209 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.7069, allocations: 0.8392 MB / 0.9217 GB, free: 8.277 MB / 0.6856 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.005296/0.7122, allocations: 3.509 MB / 0.9251 GB, free: 4.547 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007574/0.713, allocations: 496.3 kB / 0.9256 GB, free: 4.055 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.7134, allocations: 298 kB / 0.9259 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.7136, allocations: 101.5 kB / 0.926 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.7137, allocations: 47 kB / 0.926 GB, free: 3.59 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 2.395e-06/0.7137, allocations: 0 / 0.926 GB, free: 3.59 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49): time 0.003605/0.7173, allocations: 1.876 MB / 0.9279 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.7173, allocations: 55.84 kB / 0.9279 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.7187, allocations: 0.8135 MB / 0.9287 GB, free: 0.7305 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.038e-05/0.7188, allocations: 37.7 kB / 0.9287 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/0.7191, allocations: 479.3 kB / 0.9292 GB, free: 216 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.7193, allocations: 177.5 kB / 0.9294 GB, free: 36 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.7196, allocations: 114.3 kB / 0.9295 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.7197, allocations: 330 kB / 0.9298 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/0.7202, allocations: 245.2 kB / 0.93 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005299/0.7207, allocations: 380.6 kB / 0.9304 GB, free: 14.93 MB / 0.7012 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.003683/0.7244, allocations: 1.548 MB / 0.9319 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.7244, allocations: 0 / 0.9319 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001402/0.7259, allocations: 0.7961 MB / 0.9327 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.7259, allocations: 4 kB / 0.9327 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.7259, allocations: 4 kB / 0.9327 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001722/0.7261, allocations: 65.67 kB / 0.9327 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007239/0.7268, allocations: 152.2 kB / 0.9329 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.7294, allocations: 3.128 MB / 0.9359 GB, free: 8.875 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008661/0.7302, allocations: 30.33 kB / 0.936 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.374e-05/0.7303, allocations: 24 kB / 0.936 GB, free: 8.824 MB / 0.7012 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.0004749/0.7308, allocations: 305.6 kB / 0.9363 GB, free: 8.516 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.731, allocations: 90.95 kB / 0.9364 GB, free: 8.426 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/0.7311, allocations: 100.7 kB / 0.9365 GB, free: 8.324 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.7311, allocations: 12.06 kB / 0.9365 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.7312, allocations: 0 / 0.9365 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009824/0.7321, allocations: 0.8348 MB / 0.9373 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/0.7349, allocations: 1.79 MB / 0.939 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.7349, allocations: 4 kB / 0.9391 GB, free: 5.496 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006097/0.7355, allocations: 135.8 kB / 0.9392 GB, free: 5.363 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.336e-05/0.7357, allocations: 40.78 kB / 0.9392 GB, free: 5.32 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/0.7357, allocations: 15.98 kB / 0.9392 GB, free: 5.305 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.7369, allocations: 1.595 MB / 0.9408 GB, free: 3.57 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.7369, allocations: 7.938 kB / 0.9408 GB, free: 3.562 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.7384, allocations: 1.065 MB / 0.9418 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004205/0.7388, allocations: 247.9 kB / 0.9421 GB, free: 2.184 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.7389, allocations: 12 kB / 0.9421 GB, free: 2.172 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006737/0.7396, allocations: 35.34 kB / 0.9421 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.7397, allocations: 36.08 kB / 0.9422 GB, free: 2.105 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.257e-05/0.7398, allocations: 35.97 kB / 0.9422 GB, free: 2.07 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006642/0.7405, allocations: 0.5614 MB / 0.9427 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7405, allocations: 4 kB / 0.9427 GB, free: 1.508 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000791/0.7413, allocations: 276 kB / 0.943 GB, free: 1.238 MB / 0.7012 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.0004198/0.7417, allocations: 187.4 kB / 0.9432 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001245/0.743, allocations: 0.8051 MB / 0.944 GB, free: 232 kB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.743, allocations: 0 / 0.944 GB, free: 232 kB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005625/0.7435, allocations: 419.5 kB / 0.9444 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/0.7459, allocations: 0.5964 MB / 0.945 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.7485, allocations: 1.789 MB / 0.9467 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006038/0.7491, allocations: 1.088 MB / 0.9478 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006696/0.7498, allocations: 215.7 kB / 0.948 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.75, allocations: 71.42 kB / 0.948 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of SimCode: time 4.71e-07/0.75, allocations: 0 / 0.948 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of Templates: time 0.2993/1.049, allocations: 20.03 MB / 0.9676 GB, free: 245.6 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)