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.004954/0.004954, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001186/0.001186, allocations: 194.9 kB / 16.67 MB, free: 5.973 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 297.2 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9151/0.9151, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 95.84 kB / 0.6815 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.453/0.4547, allocations: 86.97 MB / 0.7664 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.6557/1.11, allocations: 221.1 MB / 0.9823 GB, free: 16.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008017/1.119, allocations: 5.734 MB / 0.9879 GB, free: 16.63 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/1.12, allocations: 41.12 kB / 0.9879 GB, free: 16.63 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/1.121, allocations: 0.5775 MB / 0.9885 GB, free: 16.62 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004162/1.125, allocations: 1.846 MB / 0.9903 GB, free: 16.54 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002575/1.128, allocations: 1.19 MB / 0.9914 GB, free: 16.51 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003069/1.131, allocations: 2.957 MB / 0.9943 GB, free: 16.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/1.132, allocations: 1.019 MB / 0.9953 GB, free: 16.39 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/1.134, allocations: 1.074 MB / 0.9964 GB, free: 16.39 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/1.135, allocations: 0.9431 MB / 0.9973 GB, free: 16.38 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001613/1.136, allocations: 108.2 kB / 0.9974 GB, free: 16.38 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/1.138, allocations: 1.429 MB / 0.9988 GB, free: 16.36 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003535/1.138, allocations: 463.7 kB / 0.9992 GB, free: 16.36 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000625/1.139, allocations: 0.6515 MB / 0.9999 GB, free: 16.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002329/1.141, allocations: 2.149 MB / 1.002 GB, free: 16.08 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.141, allocations: 0 / 1.002 GB, free: 16.08 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.293e-06/1.141, allocations: 0.7812 kB / 1.002 GB, free: 16.08 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.406e-05/1.141, allocations: 0 / 1.002 GB, free: 16.08 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.001919/1.143, allocations: 1.549 MB / 1.003 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/1.143, allocations: 8.938 kB / 1.003 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001804/1.145, allocations: 320.5 kB / 1.004 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/1.146, allocations: 0.8638 MB / 1.005 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.051e-05/1.146, allocations: 63.88 kB / 1.005 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/1.146, allocations: 86.62 kB / 1.005 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/1.148, allocations: 0.9079 MB / 1.006 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/1.148, allocations: 3.938 kB / 1.006 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.249e-05/1.148, allocations: 42.09 kB / 1.006 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.4e-05/1.148, allocations: 32.97 kB / 1.006 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/1.149, allocations: 0.84 MB / 1.007 GB, free: 14.79 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.004187/1.153, allocations: 3.523 MB / 1.01 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006528/1.154, allocations: 500 kB / 1.01 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/1.154, allocations: 300.1 kB / 1.011 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/1.155, allocations: 107.5 kB / 1.011 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/1.155, allocations: 47.56 kB / 1.011 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=47): time 2.535e-06/1.155, allocations: 0 / 1.011 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of matching and sorting (n=49): time 0.003067/1.158, allocations: 1.889 MB / 1.013 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/1.158, allocations: 56.75 kB / 1.013 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008241/1.159, allocations: 0.8028 MB / 1.014 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/1.159, allocations: 42.52 kB / 1.014 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/1.159, allocations: 488 kB / 1.014 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/1.159, allocations: 185.5 kB / 1.014 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/1.159, allocations: 114.7 kB / 1.014 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.741e-05/1.159, allocations: 334 kB / 1.015 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/1.16, allocations: 243.5 kB / 1.015 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/1.16, allocations: 381.3 kB / 1.015 GB, free: 11.57 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.003158/1.163, allocations: 1.545 MB / 1.017 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.163, allocations: 2.406 kB / 1.017 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001158/1.165, allocations: 0.7942 MB / 1.018 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.165, allocations: 6.688 kB / 1.018 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.165, allocations: 4.125 kB / 1.018 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001506/1.165, allocations: 69.67 kB / 1.018 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006098/1.165, allocations: 151.3 kB / 1.018 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/1.167, allocations: 3.117 MB / 1.021 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008437/1.168, allocations: 27.3 kB / 1.021 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/1.168, allocations: 25.44 kB / 1.021 GB, free: 8.539 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.000464/1.169, allocations: 305.9 kB / 1.021 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/1.169, allocations: 99.48 kB / 1.021 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/1.169, allocations: 102.6 kB / 1.021 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/1.169, allocations: 5.656 kB / 1.021 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.169, allocations: 0.7812 kB / 1.021 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008183/1.17, allocations: 0.8359 MB / 1.022 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/1.172, allocations: 1.797 MB / 1.024 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.172, allocations: 6.406 kB / 1.024 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005779/1.173, allocations: 129.8 kB / 1.024 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.051e-05/1.173, allocations: 43.48 kB / 1.024 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/1.173, allocations: 13.28 kB / 1.024 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008407/1.174, allocations: 1.598 MB / 1.026 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.174, allocations: 4.281 kB / 1.026 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/1.175, allocations: 1.075 MB / 1.027 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/1.175, allocations: 243 kB / 1.027 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/1.175, allocations: 14.66 kB / 1.027 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006347/1.176, allocations: 29.36 kB / 1.027 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/1.176, allocations: 49.12 kB / 1.027 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.812e-05/1.176, allocations: 27.86 kB / 1.027 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006241/1.177, allocations: 0.5658 MB / 1.028 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.177, allocations: 0.8438 kB / 1.028 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008009/1.178, allocations: 273.6 kB / 1.028 GB, free: 5.559 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.000374/1.178, allocations: 190.1 kB / 1.028 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001111/1.179, allocations: 0.8107 MB / 1.029 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.179, allocations: 3.406 kB / 1.029 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004612/1.18, allocations: 405.3 kB / 1.029 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/1.182, allocations: 0.6034 MB / 1.03 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/1.185, allocations: 1.838 MB / 1.032 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/1.185, allocations: 1.086 MB / 1.033 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007349/1.186, allocations: 217.8 kB / 1.033 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/1.186, allocations: 70.05 kB / 1.033 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of SimCode: time 3.8e-07/1.186, allocations: 1.25 kB / 1.033 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of Templates: time 0.02808/1.214, allocations: 20.2 MB / 1.053 GB, free: 5.152 MB / 0.7325 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)